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
- Alphabetic
- By Inheritance
- ExpectationWheneverAsserting
- UnitWheneverAsserting
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExpectationWheneverAsserting()
Value Members
- implicit def assertingNatureOfFutureAssertion: WheneverAsserting[Future[Assertion]] { type Result = scala.concurrent.Future[org.scalatest.Assertion] }
- 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