org.specs2

execute

package execute

Visibility
  1. Public
  2. All

Type Members

  1. 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

  2. trait Details extends AnyRef

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

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

    This class represents an exception occurring during an execution.

  4. trait Executable extends AnyRef

    Trait for anything that can be executed to return a Result

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

    This class represents the failure of an execution.

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

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

    this class allows to throw a failure in a Exception

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

  9. case class Pending (m: String) extends Result with Product with Serializable

    Pending result

  10. trait PendingUntilFixed extends AnyRef

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

  11. class Result extends AnyRef

    The result of an execution, either:

  12. trait ResultExecution extends AnyRef

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

  13. trait ResultImplicits extends AnyRef

    This trait adds some implicits to easily fold sequences of results

  14. trait ResultLike extends AnyRef

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

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

    this class allows to throw a failure in a Exception

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

    Skipped result

  17. trait StandardResults extends AnyRef

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

  18. case class Success (m: String) extends Result with Product with Serializable

    This class represents the success of an execution

Value Members

  1. object Error extends Product with Serializable

    This object allows to create an Error from an exception

  2. object PendingUntilFixed extends PendingUntilFixed

  3. object Result extends AnyRef

  4. object ResultExecution extends ResultExecution

  5. object ResultImplicits extends ResultImplicits

  6. object StandardResults extends StandardResults

  7. object Success extends Serializable

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