org.specs2

matcher

package matcher

Linear Supertypes
ReturnsSyntax, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. matcher
  2. ReturnsSyntax
  3. ExpectationsCreation
  4. MatchResultStackTrace
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ApplicableArbitraries extends AnyRef

    This trait enables some syntactic sugar when it is necessary to pass several arbitrary instances

  2. trait FunctionPropertyImplicits extends AnyRef

    This trait adds some syntactic sugar to transform function to properties by appending forAll

  3. trait OneExpectationPerProp extends ScalaCheckMatchers

    This trait can be mixed in a Specification to avoid counting the number of times that a property was executed as the number of expectations.

    This trait can be mixed in a Specification to avoid counting the number of times that a property was executed as the number of expectations. With this trait we just count 1 for each result

  4. case class Parameters(minTestsOk: Int = ..., minSize: Int = Test.Parameters.default.minSize, maxDiscardRatio: Float = ..., maxSize: Int = Test.Parameters.default.maxSize, workers: Int = Test.Parameters.default.workers, rng: Random = Test.Parameters.default.rng, callback: TestCallback = ..., loader: Option[ClassLoader] = ..., verbose: Boolean = false, output: Output = ConsoleOutput) extends Product with Serializable

    This class is the base class for the display and set case classes.
    It contains a Map of generation parameters and indicates if the generation must be verbose.

  5. trait PartialFunctionPropertyImplicits extends AnyRef

    This trait adds some syntactic sugar to transform partial functions to properties by appending forAll

  6. trait ResultPropertyImplicits extends AnyRef

  7. implicit class Returns[T] extends AnyRef

    Definition Classes
    ReturnsSyntax
  8. trait ScalaCheckMatchers extends ConsoleOutput with ScalaCheckParameters with FunctionPropertyImplicits with ResultPropertyImplicits with ResultLogicalCombinators with ApplicableArbitraries with Expectations

    The ScalaCheckMatchers trait provides matchers which allow to assess properties multiple times with generated data.

    The ScalaCheckMatchers trait provides matchers which allow to assess properties multiple times with generated data.

    See also

    the ScalaCheck project

  9. trait ScalaCheckParameters extends AnyRef

    This trait provides generation parameters to use with the ScalaCheckMatchers

Value Members

  1. object PartialFunctionPropertyImplicits extends PartialFunctionPropertyImplicits

  2. object ScalaCheckMatchers extends ScalaCheckMatchers

  3. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  4. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  5. def checkResultFailure(r: ⇒ Result): Result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  6. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Definition Classes
    ExpectationsCreation
  7. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Definition Classes
    ExpectationsCreation
  8. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Definition Classes
    ExpectationsCreation
  9. def createExpectable[T](t: ⇒ T): Expectable[T]

    Definition Classes
    ExpectationsCreation
  10. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    Definition Classes
    ExpectationsCreation
  11. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  12. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace

Inherited from ReturnsSyntax

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped