org

specs2

package specs2

Visibility
  1. Public
  2. All

Type Members

  1. trait ScalaCheck extends ScalaCheckMatchers with AutoExamples

    The ScalaCheck trait can be used to access ScalaCheck matchers

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

  3. 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
  4. trait SpecificationLike extends SpecificationStructure with SpecificationFeatures

  5. 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()

Value Members

  1. object AnalysisBuildInfo extends Product with Serializable

  2. object CommonBuildInfo extends Product with Serializable

  3. object CoreBuildInfo extends Product with Serializable

  4. object FormBuildInfo extends Product with Serializable

  5. object GwtBuildInfo extends Product with Serializable

  6. object HtmlBuildInfo extends Product with Serializable

  7. object JunitBuildInfo extends Product with Serializable

  8. object MarkdownBuildInfo extends Product with Serializable

  9. object MatcherBuildInfo extends Product with Serializable

  10. object MatcherextraBuildInfo extends Product with Serializable

  11. object MockBuildInfo extends Product with Serializable

  12. object ScalacheckBuildInfo extends Product with Serializable

  13. package analysis

  14. package collection

  15. package control

  16. package data

  17. package execute

  18. package form

  19. package html

    This package provides newtypes for strings representing toc ids

  20. package io

  21. package main

  22. package matcher

  23. package mock

  24. package mutable

  25. package reflect

  26. package reporter

  27. package runner

  28. package specification

  29. package text

  30. package time

  31. package xml

Ungrouped