OperationMatchers

org.specs2.matcher.OperationMatchers
See theOperationMatchers companion trait

Attributes

Companion
trait
Graph
Supertypes
trait ValueChecks
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

def beKo[T](message: String): Matcher[Operation[T]]

Attributes

Inherited from:
OperationMatchers
def beKo[T]: Matcher[Operation[T]]

Attributes

Inherited from:
OperationMatchers
def beOk[T](check: ValueCheck[T]): Matcher[Operation[T]]

Attributes

Inherited from:
OperationMatchers
def beOk[T]: Matcher[Operation[T]]

Attributes

Inherited from:
OperationMatchers
def valueIsTypedValueCheck[T](expected: T)(using di: Diffable[T]): BeEqualTypedValueCheck[T]

an expected value can be used to check another value

an expected value can be used to check another value

Attributes

Inherited from:
ValueChecksBase

Givens

Inherited givens

given downcastBeEqualTypedValueCheck[T, S >: T]: downcastBeEqualTypedValueCheck[T, S]

a check of type T can be downcasted implicitly to a check of type S >: T

a check of type T can be downcasted implicitly to a check of type S >: T

Attributes

Inherited from:
ValueChecks
given functionIsValueCheck[T, R](using evidence$3: AsResult[R]): functionIsValueCheck[T, R]

a function returning an object having an AsResult instance can check a value

a function returning an object having an AsResult instance can check a value

Attributes

Inherited from:
ValueChecksLowImplicits
given matcherIsValueCheck[T]: matcherIsValueCheck[T]

a Matcher[T] can check a value

a Matcher[T] can check a value

Attributes

Inherited from:
ValueChecksBase
given partialfunctionIsValueCheck[T, R](using evidence$2: AsResult[R]): partialfunctionIsValueCheck[T, R]

a partial function returning an object having an AsResult instance can check a value

a partial function returning an object having an AsResult instance can check a value

Attributes

Inherited from:
ValueChecks