Hamcrest

object Hamcrest extends Hamcrest
Companion
class
trait Hamcrest
class Object
trait Matchable
class Any

Value members

Inherited methods

def createKoMessageFromHamcrest[T](t: => T, hamcrest: Matcher[T]): String
Returns

a string showing the matched value and the failure message from the Hamcrest matcher

Inherited from
Hamcrest

Givens

Inherited givens

given Conversion_Matcher_Matcher[T]: Conversion[Matcher[T], Matcher[T]]

convert a Hamcrest matcher to a specs2 matcher

convert a Hamcrest matcher to a specs2 matcher

Inherited from
Hamcrest