Package

org.scalatest

enablers

Permalink

package enablers

Visibility
  1. Public
  2. All

Type Members

  1. trait CheckerAsserting[T] extends AnyRef

    Permalink

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

    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.

  2. abstract class ExpectationCheckerAsserting extends UnitCheckerAsserting

    Permalink

    Abstract class that in the future will hold an intermediate priority CheckerAsserting implicit, which will enable inspector expressions that have result type Expectation, a more composable form of assertion that returns a result instead of throwing an exception when it fails.

    Abstract class that in the future will hold an intermediate priority CheckerAsserting implicit, which will enable inspector expressions that have result type Expectation, a more composable form of assertion that returns a result instead of throwing an exception when it fails.

  3. abstract class UnitCheckerAsserting extends AnyRef

    Permalink

    Class holding lowest priority CheckerAsserting implicit, which enables GeneratorDrivenPropertyChecks expressions that have result type Unit.

    Class holding lowest priority CheckerAsserting implicit, which enables GeneratorDrivenPropertyChecks expressions that have result type Unit.

Value Members

  1. object CheckerAsserting extends ExpectationCheckerAsserting

    Permalink

    Companion object to CheckerAsserting that provides two implicit providers, a higher priority one for passed functions that have result type Assertion, which also yields result type Assertion, and one for any other type, which yields result type Unit.

    Companion object to CheckerAsserting that provides two implicit providers, a higher priority one for passed functions that have result type Assertion, which also yields result type Assertion, and one for any other type, which yields result type Unit.

Ungrouped