org.specs2.mutable

Type members

Classlikes

@nowarn
trait After extends 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

@nowarn
trait Around extends 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

trait Before extends SpecificationStructure with Before with FragmentsFactory

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.

@nowarn
trait BeforeAfter extends BeforeAfter with DelayedInit with Scope
trait NameSpace extends Scope

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

abstract class Spec extends SpecLike

Lightweight specification with only 3 implicit methods

Lightweight specification with only 3 implicit methods

  • 2 implicits to create the specification string context
  • 1 implicit to create expectations with "must"
  • 1 implicit to add arguments to the specification
trait SpecLike extends SpecificationStructure with ExampleDsl0 with ArgumentsCreation with ArgumentsShortcuts with TextCreation with ActionDsl with MustThrownMatchers1 with FormattingFragments with StandardResults
abstract class Specification extends SpecificationLike

Class for a Specification using the mutable DSL and thrown expectations

Class for a Specification using the mutable DSL and thrown expectations

trait SpecificationLike extends SpecificationStructure with SpecificationCreation with SpecificationFeatures
trait Tables extends DataTables with NoBangExamples

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

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