Hamcrest for Kotlin
APACHE-2.0 License
Bot releases are visible (Hide)
A new way of extending how Hamkrest describes values in diagnostic messages: https://github.com/npryce/hamkrest/blob/master/docs/describe.md
Removed the assert object and Asserter class, which was intended to let client code extend how Hamkrest describes values, but did not work. This is a backward incompatible change. Client code must be changed to call assertThat
instead of assert.that
. There are no other changes, so you can continue to use the 1.6.0.0 release while converting code to use assertThat
, and then upgrade to 1.7.0.0.
Published by npryce about 6 years ago
The type of anything
and nothing
is now Matcher<Any?>
message
can be passed as a function, so that it can be generated only when a failure occurs