MatcherCreation

org.specs2.matcher.MatcherCreation
See theMatcherCreation companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Matcher.type
object MatcherCreation.type

Members list

Givens

Givens

given given_Conversion_Function_Matcher[T]: given_Conversion_Function_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

Attributes

given matcherFunctionToMatcher[T, R]: matcherFunctionToMatcher[T, 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

Attributes

given pairFunctionToMatcher[T]: pairFunctionToMatcher[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

Attributes

given resultFunctionToMatcher[T, R](using evidence$3: AsResult[R]): resultFunctionToMatcher[T, R]

This method transforms a function returning a Result to a Matcher

This method transforms a function returning a Result to a Matcher

Attributes