org.specs2

execute

package execute

Visibility
  1. Public
  2. All

Type Members

  1. class AnyAsResult extends AnyRef

    This class is used to delay the

  2. trait AsResult[T] extends AnyRef

    Typeclass trait for anything that can be transformed to a Result

  3. case class DecoratedResult[+T](decorator: T, result: Result) extends Result with Product with Serializable

    This result allows to embed additional data with a given result for further display

  4. case class DecoratedResultException(result: DecoratedResult[_]) extends Exception with Product with Serializable

    this class allows to throw a result that's decorated with additional information in an Exception

  5. sealed trait Details extends AnyRef

    Trait to model detailed information for failures so that smart differences can be computed

  6. case class Error(m: String, e: Exception) extends Result with ResultStackTrace with Product with Serializable

    This class represents an exception occurring during an execution.

  7. trait EventuallyResults extends AnyRef

    This trait adds the possibility to retry a given value, convertible to a result, until it succeeds.

  8. trait Executable extends AnyRef

    Trait for anything that can be executed to return a Result

  9. case class Failure(m: String = "", e: String = "", stackTrace: List[StackTraceElement] = ..., details: Details = NoDetails.apply()) extends Result with ResultStackTrace with Product with Serializable

    This class represents the failure of an execution.

  10. case class FailureDetails(expected: String, actual: String) extends Details with Product with Serializable

  11. case class FailureException(f: Failure) extends Exception with Product with Serializable

    this class allows to throw a failure result in an Exception

  12. trait Isolable extends AnyRef

    This trait models elements which can be executed in a brand new context with new local variables It is used to execute examples in a new specification when needed

  13. case class NoDetails() extends Details with Product with Serializable

  14. trait NoPendingUntilFixed extends PendingUntilFixed

    use this trait to remove the pending until fixed implicit conversion

  15. case class Pending(m: String = "") extends Result with Product with Serializable

    Pending result

  16. case class PendingException(f: Pending) extends Exception with Product with Serializable

    this class allows to throw a pending result in an Exception

  17. trait PendingUntilFixed extends AnyRef

    This function allows to mark the body of an example as pending until it is fixed.

  18. sealed abstract class Result extends AnyRef

    The result of an execution, either:

  19. trait ResultExecution extends AnyRef

    This trait executes a Result and returns an appropriate value when a specs2 exception is thrown

  20. trait ResultImplicits extends AnyRef

    This trait adds some implicits to easily fold sequences of results

  21. trait ResultLike extends AnyRef

    This trait can be used for anything that can be converted to a Result.

  22. trait ResultStackTrace extends HasStackTrace

    The stacktrace for a Result

  23. trait Results extends AnyRef

  24. case class SkipException(f: Skipped) extends Exception with Product with Serializable

    this class allows to throw a skipped result in an Exception

  25. case class Skipped(m: String = "", e: String = "") extends Result with Product with Serializable

    Skipped result

  26. trait StandardResults extends AnyRef

    This trait provides standard results which can be used in Fragments bodies

  27. case class Success(m: String = "", exp: String = "") extends Result with Product with Serializable

    This class represents the success of an execution

Value Members

  1. object AnyAsResult

  2. object AsResult

  3. object Error extends Product with Serializable

    This object allows to create an Error from an exception

  4. object EventuallyResults extends EventuallyResults

  5. object PendingUntilFixed extends PendingUntilFixed

  6. object Result

  7. object ResultExecution extends ResultExecution

  8. object ResultImplicits extends ResultImplicits

  9. object ResultLogicalCombinators extends ResultLogicalCombinators

  10. object Results extends Results

  11. object StandardResults extends StandardResults

  12. object Success extends Serializable

    Companion object to the Success class providing a method to set the expectations number

Ungrouped