Package

org.specs2.specification

process

Permalink

package process

Visibility
  1. Public
  2. All

Type Members

  1. trait DefaultExecutor extends Executor

    Permalink

    Default execution for specifications:

    Default execution for specifications:

    • concurrent by default
    • using steps for synchronisation points
  2. trait DefaultSelector extends Selector

    Permalink

    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
  3. trait Executor extends AnyRef

    Permalink

    Functions for executing fragments.

    Functions for executing fragments.

    The default execution model executes all examples concurrently and uses steps as "join" points

  4. trait Indentation extends AnyRef

    Permalink

    Fold function to compute the indentation of each fragment based on the presence of Tabs fragments

  5. sealed trait IndentationDirection extends AnyRef

    Permalink
  6. case class IndentationState(level: Int, direction: IndentationDirection) extends Product with Serializable

    Permalink
  7. case class Level(start: Boolean = false, incrementNext: Boolean = false, l: Int = 0) extends Product with Serializable

    Permalink
  8. trait Levels extends AnyRef

    Permalink

    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

  9. trait RandomSequentialExecution extends SpecificationStructure

    Permalink

    This trait adds random execution constraints between examples.

    This trait adds random execution constraints between examples.

    As a result they will be executed randomly but in sequence

  10. trait Selector extends AnyRef

    Permalink

    Selection function for Fragment processes

  11. case class SpecificationResultKey(specClassName: String, description: Description) extends Key[Result] with Product with Serializable

    Permalink
  12. case class SpecificationStatsKey(specClassName: String) extends Key[Stats] with Product with Serializable

    Permalink
  13. trait Statistics extends AnyRef

    Permalink

    Compute the statistics for executed fragments

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

    Permalink

    In memory store for statistics

  15. case class StatisticsRepository(store: Store) extends Product with Serializable

    Permalink

    Store the execution statistics.

    Store the execution statistics.

    The actual store might be on disk on in-memory

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

    Permalink

    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

  1. object DefaultExecutor extends DefaultExecutor

    Permalink

    helper functions for executing fragments

  2. object DefaultSelector extends DefaultSelector

    Permalink
  3. object Indentation extends Indentation

    Permalink
  4. object IndentationDown extends IndentationDirection with Product with Serializable

    Permalink
  5. object IndentationNeutral extends IndentationDirection with Product with Serializable

    Permalink
  6. object IndentationState extends Serializable

    Permalink
  7. object IndentationUp extends IndentationDirection with Product with Serializable

    Permalink
  8. object Level extends Serializable

    Permalink
  9. object Levels extends Levels

    Permalink
  10. object Statistics extends Statistics

    Permalink
  11. object StatisticsRepository extends Serializable

    Permalink
  12. object StatisticsStore

    Permalink
  13. object Stats extends Product with Serializable

    Permalink

    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

  14. object StoreKeys

    Permalink

Ungrouped