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 = ..., systemLogger: (String) ⇒ IO[Unit] = control.`package`.noLogging, random: Random = new scala.util.Random(), fileSystem: FileSystem = io.FileSystem, executionParameters: ExecutionParameters = ...) 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, fatal: Option[FatalExecution] = scala.None, executionTime: SimpleTimer = new time.SimpleTimer(), continuation: Option[FragmentsContinuation] = scala.None) extends Product with Serializable

    Execution of a Fragment

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

  8. case class FatalExecution(t: Throwable) extends Exception with Product with Serializable

  9. trait ForEachEnv extends ForEach[Env]

    Specialized ForEach trait to use the Env in examples

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

    Fragment of a specification

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

    Fragments of a specification

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

  13. trait ImmutableSpecificationStructure extends SpecificationStructure

    Structure of an immutable specification.

  14. trait Location extends AnyRef

    Location of a Fragment

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

    Description of a Tag fragment

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

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

    Header of a Specification

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

    Structure of a Specification:

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

    Reference to another specification

  20. trait SpecificationStructure extends ContextualSpecificationStructure

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

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

    The next fragment must be indented

  23. 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 Fragment extends Serializable

  7. object Fragments extends Serializable

  8. object FragmentsContinuation extends Serializable

  9. object NoText extends Description with Product with Serializable

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

  10. object SpecHeader extends Serializable

  11. object SpecStructure extends Serializable

    Create SpecStructures from header, arguments, fragments

  12. object SpecificationRef extends Serializable

  13. object SpecificationStructure

  14. object Start extends Description with Product with Serializable

    Start of a block.

Ungrouped