org

specs2

package specs2

Visibility
  1. Public
  2. All

Type Members

  1. abstract class Specification extends SpecificationLike

    The Specification trait can be extended to create a specification.

    The Specification trait can be extended to create a specification.

    It provides:

    • methods to create specification fragments
    • methods to specify arguments (for execution and reporting)
    • matchers
    See also

    SpecificationFeatures for more details

  2. trait SpecificationFeatures extends FragmentsBuilder with SpecificationStringContext with AutoExamples with SpecificationInclusion with ArgumentsArgs with ArgumentsShortcuts with MustMatchers with ShouldMatchers with FormattingFragments with StandardResults with StandardMatchResults with TimeConversions with PendingUntilFixed with Contexts with SpecificationNavigation with ContextsInjection with Debug

    The SpecificationFeatures trait provides functionalities to build the specification fragments plus additional ones:

    The SpecificationFeatures trait provides functionalities to build the specification fragments plus additional ones:

    • ArgumentArgs: args method to create Arguments
    • MustMatchers: methods for creating expectations with the must verb like a must_== b
    • ShouldMatchers: methods for creating expectations with the should verb like a should_== b
    • FormattingFragments: to use p, br, end to format the specification text
    • StandardResults: to use todo, pending, success in example bodies
    • AutoExamples: to allow the declaration of examples where the body of the example is its own description
    • TimeConversions: to create time expressions like 1.second
    • PendingUntilFixed: to mark an example pending until it succeeds
    • Contexts: implicit methods to apply contexts to Results
    • Debug: to allow the insertion of .pp to print any expression to the Console and pass it to the rest of the program
  3. trait SpecificationLike extends SpecificationStructure with SpecificationFeatures

Value Members

  1. object CoreBuildInfo extends Product with Serializable

  2. package mutable

  3. package reporter

  4. package runner

  5. package specification

Ungrouped