Packages

c

org.scalatest.enablers

ExpectationWheneverAsserting

abstract class ExpectationWheneverAsserting extends UnitWheneverAsserting

Abstract class that in the future will hold an intermediate priority WheneverAsserting 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.

Source
WheneverAsserting.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpectationWheneverAsserting
  2. UnitWheneverAsserting
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExpectationWheneverAsserting()

Value Members

  1. implicit def assertingNatureOfFutureAssertion: WheneverAsserting[Future[Assertion]] { type Result = scala.concurrent.Future[org.scalatest.Assertion] }
  2. implicit def assertingNatureOfT[T]: WheneverAsserting[T] { type Result = Unit }

    Provides support of WheneverAsserting for Unit.

    Provides support of WheneverAsserting for Unit. Return Unit when the check succeeds, but throw DiscardedEvaluationException when check fails.

    Definition Classes
    UnitWheneverAsserting