Hamkrest Versions Save

Hamcrest for Kotlin

1.7.0.0

5 years ago

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.

1.6.0.0

5 years ago

The type of anything and nothing is now Matcher<Any?>

1.4.0.0

7 years ago
  • Reflectomagic works with Kotlin 1.1.1 (the kotlin-reflect library must be on the classpath)
  • The message can be passed as a function, so that it can be generated only when a failure occurs
  • The way that values are described in error messages is now customisable.