package process
- Alphabetic
- Public
- Protected
Type Members
- trait DefaultExecutor extends Executor
Default execution for specifications:
Default execution for specifications:
- concurrent by default
- using steps for synchronisation points
- trait DefaultSelector extends Selector
Default selection for specification fragments:
Default selection for specification fragments:
- filter based on the name
- filter based on the tags
- filter based on previous execution
- trait Executor extends AnyRef
Functions for executing fragments.
Functions for executing fragments.
The default execution model executes all examples concurrently and uses steps as "join" points
- trait Indentation extends AnyRef
Fold function to compute the indentation of each fragment based on the presence of Tabs fragments
- sealed trait IndentationDirection extends AnyRef
- case class IndentationState(level: Int, direction: IndentationDirection) extends Product with Serializable
- case class Level(start: Boolean = false, incrementNext: Boolean = false, l: Int = 0) extends Product with Serializable
- trait Levels extends AnyRef
Compute the "level" of each fragment to be able to represent the whole specification as a tree.
Compute the "level" of each fragment to be able to represent the whole specification as a tree.
In mutable specifications text fragments add one level to the following fragments, Otherwise should and can blocks create Start/End fragments indicating that the level should go up then down
- trait RandomSequentialExecution extends SpecificationStructure
This trait adds random execution constraints between examples.
This trait adds random execution constraints between examples.
As a result they will be executed in a random sequence
- trait Selector extends AnyRef
Selection function for Fragment processes
- case class SpecificationResultKey(specClassName: String, description: Description) extends Key[Result] with Product with Serializable
- case class SpecificationStatsKey(specClassName: String) extends Key[Stats] with Product with Serializable
- trait Statistics extends AnyRef
Compute the statistics for executed fragments
- case class StatisticsMemoryStore(statistics: HashMap[String, Stats] = new HashMap[String, Stats], results: HashMap[(String, Long), Result] = new HashMap[(String, Long), Result]) extends Store with Product with Serializable
In memory store for statistics
- case class StatisticsRepository(store: Store) extends Product with Serializable
Store the execution statistics.
Store the execution statistics.
The actual store might be on disk on in-memory
- case class Stats(specs: Int = 0, examples: Int = 0, successes: Int = 0, expectations: Int = 0, failures: Int = 0, errors: Int = 0, pending: Int = 0, skipped: Int = 0, trend: Option[Stats] = None, timer: SimpleTimer = new SimpleTimer) extends Product with Serializable
The Stats class store results for the number of:
The Stats class store results for the number of:
- linked specifications - examples (including linked examples) - successes - expectations - failures - errors - pending - skipped
Value Members
- object DefaultExecutor extends DefaultExecutor
helper functions for executing fragments
- object DefaultSelector extends DefaultSelector
- object Indentation extends Indentation
- case object IndentationDown extends IndentationDirection with Product with Serializable
- case object IndentationNeutral extends IndentationDirection with Product with Serializable
- object IndentationState extends Serializable
- case object IndentationUp extends IndentationDirection with Product with Serializable
- object Level extends Serializable
- object Levels extends Levels
- object Statistics extends Statistics
- object StatisticsRepositoryCreation
- case object Stats extends Product with Serializable
The Stats class store results for the number of: - successes - expectations - failures - errors - pending - skipped
The Stats class store results for the number of: - successes - expectations - failures - errors - pending - skipped
for each example
- object StoreKeys