hamkrest

Hamcrest for Kotlin

APACHE-2.0 License

Stars
344

Bot releases are hidden (Show)

hamkrest - Latest Release

Published by npryce over 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.

hamkrest - Fix anything and nothing

Published by npryce about 6 years ago

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

hamkrest -

Published by npryce over 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.
Package Rankings
Top 10.46% on Repo1.maven.org
Badges
Extracted from project README
Kotlin Build Status Maven Central