TableAsserting

Companion object to TableAsserting 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:
class
class Object
trait Matchable
class Any

Type members

Inherited classlikes

abstract class FutureTableAssertingImpl[ASSERTION] extends TableAsserting[Future[ASSERTION]]
Inherited from:
UnitTableAsserting
abstract class TableAssertingImpl[ASSERTION] extends TableAsserting[ASSERTION]

Abstract subclass of TableAsserting that provides the bulk of the implementations of TableAsserting's forAll, forEvery and exists.

Abstract subclass of TableAsserting that provides the bulk of the implementations of TableAsserting's forAll, forEvery and exists.

Inherited from:
UnitTableAsserting

Implicits

Implicits

Provides support of TableAsserting for Assertion. Returns Succeeded when the check succeeds, but throw TableDrivenPropertyCheckFailedException when check fails.

Provides support of TableAsserting for Assertion. Returns Succeeded when the check succeeds, but throw TableDrivenPropertyCheckFailedException when check fails.

implicit def assertingNatureOfFutureAssertion(implicit exeCtx: ExecutionContext): TableAsserting[Future[Assertion]] { type Result = Future[Assertion]; }

Inherited implicits

implicit def assertingNatureOfT[T]: TableAsserting[T] { type Result = Unit; }

Provides support of TableAsserting for Unit. Do nothing when the check succeeds, but throw TableDrivenPropertyCheckFailedException when check fails.

Provides support of TableAsserting for Unit. Do nothing when the check succeeds, but throw TableDrivenPropertyCheckFailedException when check fails.

Inherited from:
UnitTableAsserting