org.specs2.specification

core

package core

Visibility
  1. Public
  2. All

Type Members

  1. case class Backtab(n: Int = 1) extends Description with Product with Serializable

    The next fragment must be un-indented

  2. case class Code(text: String) extends Description with Product with Serializable

  3. trait ContextualSpecificationStructure extends AnyRef

  4. trait Description extends AnyRef

    Description of a Fragment

  5. case class Env(arguments: Arguments = main.Arguments.apply(), selectorInstance: (Arguments) ⇒ Selector = ..., executorInstance: (Arguments) ⇒ Executor = ..., lineLogger: LineLogger = reporter.LineLogger.NoLineLogger, statsRepository: (Arguments) ⇒ StatisticsRepository = ..., executionEnv: ExecutionEnv = ..., systemLogger: (String) ⇒ IO[Unit] = control.`package`.noLogging, random: Random = new scala.util.Random(), fileSystem: FileSystem = io.FileSystem) extends Product with Serializable

    Whole creation / execution / reporting environment for a specification

  6. case class Execution(run: Option[(Env) ⇒ Result], executed: Option[Result] = scala.None, timeout: Option[FiniteDuration] = scala.None, mustJoin: Boolean = false, nextMustStopIf: (Result) ⇒ Boolean = ..., isolable: Boolean = true, previousResult: Option[Result] = scala.None, executionTime: SimpleTimer = new time.SimpleTimer(), continuation: Option[FragmentsContinuation] = scala.None) extends Product with Serializable

    Execution of a Fragment

  7. case class ExecutionEnv(timeOut: Option[FiniteDuration] = scala.None, withoutIsolation: Boolean = false) extends Product with Serializable

    Subset of the Env describing execution parameters

  8. trait ForEachEnv extends ForEach[Env]

    Specialized ForEach trait to use the Env in examples

  9. case class Fragment(description: Description, execution: Execution, location: Location = ...) extends Product with Serializable

    Fragment of a specification

  10. case class Fragments(contents: Process[Task, Fragment]) extends Product with Serializable

    Fragments of a specification

  11. case class FragmentsContinuation(continue: (Result) ⇒ Option[Fragments]) extends Product with Serializable

    Function creating more fragments (to be added to the specification) based on the current result

  12. trait ImmutableSpecificationStructure extends SpecificationStructure

    Structure of an immutable specification.

  13. trait Location extends AnyRef

    Location of a Fragment

  14. case class Marker(tag: NamedTag, isSection: Boolean = false, appliesToNext: Boolean = true) extends Description with Product with Serializable

    Description of a Tag fragment

  15. case class SimpleLocation(trace: TraceLocation) extends Location with Product with Serializable

  16. case class SpecHeader(specClass: Class[_], title: Option[String] = scala.None) extends Product with Serializable

    Header of a Specification

  17. case class SpecStructure(header: SpecHeader, arguments: Arguments, lazyFragments: () ⇒ Fragments) extends Product with Serializable

    Structure of a Specification:

  18. case class SpecificationRef(header: SpecHeader, alias: String = "", tooltip: String = "", hidden: Boolean = false) extends Description with Product with Serializable

    Reference to another specification

  19. trait SpecificationStructure extends ContextualSpecificationStructure

  20. case class StacktraceLocation(trace: Seq[StackTraceElement] = ...) extends Location with Product with Serializable

  21. case class Tab(n: Int = 1) extends Description with Product with Serializable

    The next fragment must be indented

  22. case class Text(text: String) extends Description with Product with Serializable

    Text description

Value Members

  1. object Br extends Description with Product with Serializable

    Break (== new line)

  2. object Description

    Creation methods for Descriptions

  3. object End extends Description with Product with Serializable

    End of a block

  4. object Env extends Serializable

  5. object Execution extends Serializable

  6. object ExecutionEnv extends Serializable

  7. object Fragment extends Serializable

  8. object Fragments extends Serializable

  9. object FragmentsContinuation extends Serializable

  10. object NoText extends Description with Product with Serializable

    NoText description, used when creating steps and actions which are not described

  11. object SpecHeader extends Serializable

  12. object SpecStructure extends Serializable

    Create SpecStructures from header, arguments, fragments

  13. object SpecificationRef extends Serializable

  14. object SpecificationStructure

  15. object Start extends Description with Product with Serializable

    Start of a block.

Ungrouped