org.specs2

specification

package specification

this package object is just here for compatibility reasons

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. specification
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait After extends Context

    The After trait can be inherited by classes representing a context where an action must be executing after the main executable action

  2. trait AfterAll extends SpecificationStructure with FragmentsFactory

    Execute a step after all fragments

  3. trait AfterEach extends FragmentsFactory

    For each created example use a given after action

  4. trait AfterSpec extends SpecificationStructure

    Execute some fragments after all others

  5. trait AllExpectations extends StoredExpectations with FragmentsFactory with SpecificationStructure with ArgumentsCreation

    This trait can be mixed-in a specification to allow examples to have all of their expectations being evaluated (unless the example body throws an exception of course).

  6. trait Around extends Context

    The Around trait can be inherited by classes which will execute some code inside the around method provided by the context.

  7. trait AroundEach extends FragmentsFactory

    For each created example use a given around action

  8. trait Before extends Context

    The Before trait can be inherited by classes representing a context where an action must be executing before the main executable action

  9. trait BeforeAfter extends Before with After

  10. trait BeforeAfterAll extends SpecificationStructure with FragmentsFactory

    Execute a step before and after all fragments

  11. trait BeforeAfterEach extends FragmentsFactory

    For each created example use a given before action

  12. trait BeforeAfterSpec extends SpecificationStructure

    Execute some fragments before and after all others

  13. trait BeforeAll extends SpecificationStructure with FragmentsFactory

    Execute a step before all fragments

  14. trait BeforeEach extends FragmentsFactory

    For each created example use a given before action

  15. trait BeforeSpec extends SpecificationStructure

    Execute some fragments before all others

  16. trait CommandLineArguments extends SpecificationStructure

    The CommandLineArgument trait can be mixed-in an Acceptance Specification to access the command line arguments when defining the specification body with the def is(commandLine: CommandLine) method

  17. trait Context extends Scope

    generic trait for Before, After, Around

  18. trait ContextWithCommandLineArguments extends FragmentsFactory

    For each created example use a context using the command line arguments

  19. trait EachContext extends FragmentsFactory

    For each created example use a given context

  20. trait Environment extends SpecificationStructure

    The Environment trait can be mixed-in an Acceptance Specification to access the Env object when defining the specification body with the def is(env: Env) method

  21. case class ExamplesGroup(name: String = "") extends Product with Serializable

  22. trait ExecutionEnvironment extends SpecificationStructure

    The ExecutionEnvironment trait can be mixed-in an Acceptance Specification to access the ExecutionEnv object when defining the specification body with the def is(implicit ee: ExecutionEnv) method

  23. class ExecutionVar extends AnyRef

  24. trait Fixture[T] extends AnyRef

    A Fixture can be implicitly passed to a set of examples taking a function as an input.

  25. trait ForEach[T] extends FragmentsFactory

    For each created example use a given fixture object

  26. trait ForEachWithCommandLineArguments[T] extends FragmentsFactory

    For each example but inject data depending on command line arguments

  27. trait Grouped extends GroupsLike

    This trait can be used to standardize names for groups of examples in an acceptance specification.

  28. trait Groups extends GroupsLike

    This trait can be used to standardize names for groups of examples in an acceptance specification.

  29. trait GroupsLike extends AnyRef

  30. class ResultsContext extends StoredResultsContext

    This class is used to evaluate a Context as a sequence of results by side-effects.

  31. trait Scope extends matcher.Scope

    Marker trait that is used to create a new scope with variables and implicitly converted to a Success in a mutable Specification

  32. trait Snippets extends execute.Snippets

    Snippets of code can be extracted from interpolated specification strings.

  33. trait SpecificationFeatures extends MustMatchers with ShouldMatchers with StandardResults with StandardMatchResults with PendingUntilFixed with ImplicitParameters with Debug with ImplicitExecutionContexts

    List of all the features which are being included the default Specification class:

  34. trait StoredExpectationsContext extends StoredExpectations with StoredResultsContext

    This trait can be used when it is not desirable to use the AllExpectations trait, that is, when the specification examples must be executed concurrently and not isolated.

  35. trait StoredResultsContext extends Context

    This trait is a context which will use the results provided by the class inheriting that trait.

  36. trait Tables extends DataTables with NoBangExamples

    This trait allows to use Data tables with simple ! as column separator when the first column is a string.

  37. trait AfterExample extends AfterEach

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use the AfterEach trait instead

  38. trait AroundExample extends AroundEach

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use the AroundEach trait instead

  39. trait BeforeAfterExample extends BeforeAfterEach

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use the BeforeAfterEach trait instead

  40. trait BeforeExample extends BeforeEach

    DEPRECATED TRAITS

  41. trait FixtureExample[T] extends ForEach[T]

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use the ForEach trait instead

Value Members

  1. object After

  2. object Around

  3. object Before

  4. object BeforeAfter

  5. object Context

  6. object ExecutionVar

  7. object Fixture

  8. object Tables extends Tables with Expectations

  9. package core

  10. package create

  11. package dsl

  12. package mutable

  13. package process

  14. package script

Deprecated Value Members

  1. def Action(a: ⇒ Any): Fragment

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use action instead

  2. def Step(a: ⇒ Any, global: Boolean = false): Fragment

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use step instead

  3. def Step(a: ⇒ Any): Fragment

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) use step instead

Inherited from AnyRef

Inherited from Any

Ungrouped