org.specs2

mutable

package mutable

Visibility
  1. Public
  2. All

Type Members

  1. trait After extends specification.After with DelayedInit with Scope

    This trait adds the possibility to execute the after behavior after the body of the context.

    This trait adds the possibility to execute the after behavior after the body of the context.

    Since the delayedInit method doesn't return a Result, this only works with mutable specifications where results are thrown as exceptions

  2. trait ArgumentsArgs extends main.ArgumentsArgs

    This trait provides shortcuts to create Arguments instances and adding them to the SpecificationStructure by mutating its current content

  3. trait Around extends specification.Around with DelayedInit with Scope

    This trait adds the possibility to execute the around behavior around the body of the context.

    This trait adds the possibility to execute the around behavior around the body of the context.

    Since the delayedInit method doesn't return a Result, this only works with mutable specifications where results are thrown as exceptions

  4. trait Before extends specification.Before with DelayedInit with Scope

    This trait adds the possibility to execute the before behavior before the body of the context.

    This trait adds the possibility to execute the before behavior before the body of the context.

    Since the delayedInit method doesn't return a Result, this only works with mutable specifications where results are thrown as exceptions

  5. trait BeforeAfter extends specification.BeforeAfter with DelayedInit with Scope

  6. trait ExamplesBlock extends AnyRef

    allow to write "this block has several examples" in { Seq(1, 2, 3).foreach(i => "example"+i >> ok) }

  7. trait ExamplesFactory extends specification.ExamplesFactory

  8. trait ExpectationsBlock extends AnyRef

    allow to write "this example has several expectations" in { Seq(1, 2, 3).foreach(i => i must be_>(0)) }

  9. trait FormattingFragments extends specification.FormattingFragments

  10. trait FragmentsBuilder extends specification.FragmentsBuilder with ExamplesFactory with SideEffectingCreationPaths with ImplicitParameters

    Adding new implicits to support specs-like naming: "the system" should "do this" in { ...

    Adding new implicits to support specs-like naming: "the system" should "do this" in { ... }

    This trait belongs to the mutable package because it works by mutating a local variable each time a new Fragment is created.

  11. trait GivenWhenThen extends specification.GivenWhenThen

  12. trait NameSpace extends AnyRef

    This marker trait can be used to scope variables which should only be used for a given set of fragments

    This marker trait can be used to scope variables which should only be used for a given set of fragments

    See also

    MutableGivenWhenThenSpec

  13. trait NoFragmentsBuilder extends FragmentsBuilder

    This trait can be used to deactivate implicits for building fragments

  14. trait SideEffectingCreationPaths extends SpecificationNavigation

  15. abstract class Specification extends SpecificationLike

  16. trait SpecificationFeatures extends SpecificationStringContext with FragmentsBuilder with SpecificationInclusion with ArgumentsArgs with ArgumentsShortcuts with MustThrownMatchers with ShouldThrownMatchers with FormattingFragments with StandardResults with StandardMatchResults with Tags with AutoExamples with TimeConversions with PendingUntilFixed with Contexts with SpecificationNavigation with ContextsInjection with Debug

  17. trait SpecificationInclusion extends specification.SpecificationInclusion

  18. trait SpecificationLike extends SpecificationStructure with SpecificationFeatures

  19. abstract class SpecificationWithJUnit extends Specification

    This class must be inherited to allow a Specification to be executed as a JUnit test

    This class must be inherited to allow a Specification to be executed as a JUnit test

    Annotations
    @RunWith()
  20. trait Tables extends DataTables with NoBangExamples

    This trait uses the NoBangExamples trait to allow using ! on string values in a DataTable

  21. trait Tags extends specification.Tags

    The tags trait allows the creation of Tags fragments in a mutable specification where the tags are defined for the _next_ fragment (or fragments for a section)

Value Members

  1. package script

Ungrouped