Package

org

specs2

Permalink

package specs2

Visibility
  1. Public
  2. All

Type Members

  1. trait ScalaCheck extends ScalaCheckMatchers with AutoExamples

    Permalink

    The ScalaCheck trait can be used to access ScalaCheck matchers

  2. abstract class Specification extends SpecificationLike

    Permalink

    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

    Permalink

    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

    Permalink
  5. abstract class SpecificationWithJUnit extends Specification

    Permalink

    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

    Permalink
  2. object CommonBuildInfo extends Product with Serializable

    Permalink
  3. object CoreBuildInfo extends Product with Serializable

    Permalink
  4. object FormBuildInfo extends Product with Serializable

    Permalink
  5. object GwtBuildInfo extends Product with Serializable

    Permalink
  6. object HtmlBuildInfo extends Product with Serializable

    Permalink
  7. object JunitBuildInfo extends Product with Serializable

    Permalink
  8. object MarkdownBuildInfo extends Product with Serializable

    Permalink
  9. object MatcherBuildInfo extends Product with Serializable

    Permalink
  10. object MatcherextraBuildInfo extends Product with Serializable

    Permalink
  11. object MockBuildInfo extends Product with Serializable

    Permalink
  12. object ScalacheckBuildInfo extends Product with Serializable

    Permalink
  13. package analysis

    Permalink
  14. package collection

    Permalink
  15. package control

    Permalink
  16. package data

    Permalink
  17. package execute

    Permalink
  18. package form

    Permalink
  19. package html

    Permalink

    This package provides newtypes for strings representing toc ids

  20. package io

    Permalink
  21. package main

    Permalink
  22. package matcher

    Permalink
  23. package mock

    Permalink
  24. package mutable

    Permalink
  25. package reflect

    Permalink
  26. package reporter

    Permalink
  27. package runner

    Permalink
  28. package specification

    Permalink
  29. package text

    Permalink
  30. package time

    Permalink
  31. package xml

    Permalink

Ungrouped