gcontracts 1.0.2

Updated AssertionError Messages

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.

Jessica Thornsby

What do you think?

JAX Magazine - 2014 - 03 Exclucively for iPad users JAX Magazine on Android

Comments

Latest opinions