Trait/Object

org.scalatest.enablers

CheckerAsserting

Related Docs: object CheckerAsserting | package enablers

Permalink

trait CheckerAsserting[T] extends AnyRef

Supertrait for CheckerAsserting typeclasses, which are used to implement and determine the result type of GeneratorDrivenPropertyChecks's apply and forAll method.

Currently, an GeneratorDrivenPropertyChecks expression will have result type Assertion, if the function passed has result type Assertion, else it will have result type Unit.

Source
CheckerAsserting.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckerAsserting
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Result

    Permalink

    The result type of the check method.

    The result type of the check method.

Abstract Value Members

  1. abstract def check(p: Prop, prms: Parameters, prettifier: Prettifier, pos: Position, argNames: Option[List[String]] = None): Result

    Permalink

    Perform the property check using the given Prop and Test.Parameters.

    Perform the property check using the given Prop and Test.Parameters.

    p

    the Prop to be used to check

    prms

    the Test.Parameters to be used to check

    prettifier

    the Prettifier to be used to prettify error message

    pos

    the Position of the caller site

    argNames

    the list of argument names

    returns

    the Result of the property check.