MatcherCreation

Companion
class
class Object
trait Matchable
class Any

Givens

Inherited givens

given given_Conversion_Function_Matcher[T]: Conversion[T => (Boolean, String, String, String), Matcher[T]]

This method transforms a function returning a triplet (condition, message, actual, expected) to a Matcher

This method transforms a function returning a triplet (condition, message, actual, expected) to a Matcher

Inherited from
MatcherCreation
given matcherFunctionToMatcher[T, R]: Conversion[T => Matcher[R], (=> T) => Matcher[R]]

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

Inherited from
MatcherCreation
given pairFunctionToMatcher[T]: Conversion[T => (Boolean, String), Matcher[T]]

This method transforms a function returning a pair (condition, message) to a Matcher

This method transforms a function returning a pair (condition, message) to a Matcher

Inherited from
MatcherCreation
given resultFunctionToMatcher[T, R]: Conversion[T => R, Matcher[T]]

This method transforms a function returning a Result to a Matcher

This method transforms a function returning a Result to a Matcher

Inherited from
MatcherCreation