Hamcrest

org.specs2.matcher.Hamcrest
See theHamcrest companion trait
object Hamcrest extends Hamcrest

Attributes

Companion
trait
Graph
Supertypes
trait Hamcrest
class Object
trait Matchable
class Any
Self type
Hamcrest.type

Members list

Value members

Inherited methods

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

Attributes

Returns

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

Inherited from:
Hamcrest

Givens

Inherited givens

given given_Conversion_Matcher_Matcher[T]: given_Conversion_Matcher_Matcher[T]

convert a Hamcrest matcher to a specs2 matcher

convert a Hamcrest matcher to a specs2 matcher

Attributes

Inherited from:
Hamcrest