Skip to content

Releases: npryce/hamkrest

1.7.0.0

16 Feb 21:43
1.7.0.0
Compare
Choose a tag to compare

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.

Fix anything and nothing

24 Aug 13:25
1.6.0.0
Compare
Choose a tag to compare

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

1.4.0.0

21 Apr 09:35
1.4.0.0
Compare
Choose a tag to compare
  • 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.