gcontracts 1.0.2

Updated AssertionError Messages

Jessica Thornsby

gcontracts version 1.0.2 is now available.

gcontracts aims to provide contract annotations for supporting the specification of class-invariants, pre- and postconditions on methods and loop invariants in Groovy and Grails projects.

This version adds line numbers in the AssertionError stacktrace, and the AssertionError message now specifies the closure source of the invariant or pre/postcondition that failed.

It can be downloaded from github.

comments powered by Disqus