Sign in to edit and +1 items.
Login required
Download

Base Spock specification for equals and hashCode tests

(0)
Author(s) Marcin Gryszko
Current Release 0.2-spock-0.6   (2 months ago)
Grails Version 2.0.0 > *
Tags spock  testing 
Dependency
compile ":equals-hashcode-test:0.2-spock-0.6"
Base Spock specification for testing equals and hashCode methods of Grails domain classes and other Groovy objects.
Last updated by mgryszko 2 months ago
Grails 1.3.7
grails install-plugin equals-hashcode-test 0.2-spock-0.5-groovy-1.7

Grails 2.0

grails install-plugin equals-hashcode-test 0.2-spock-0.6
Last updated by mgryszko 2 months ago
Base Spock specification for testing equals and hashCode methods of Grails domain classes and other Groovy objects.

Documentation

http://osoco.github.com/grails-equals-hashcode/

Source code

https://github.com/osoco/grails-equals-hashcode

Author

OSOCO Software Company

Please report any issues to the Grails User mailing list.

History

  • 0.2-spock-0.5-groovy-1.7, 0.2-spock-0.6 version - March 06, 2012
    • Compatible with Grails 2.0
    • Two versions (for Grails 1.3.7 and Grails 2.0) following Spock versioning
  • 0.2.0 version - June 29, 2011
    • EqualsHashCodeSpec moved to es.osoco.grails.plugins package. Please update your test code after upgrading to this version
    • Lazy property value evaluation
  • 0.1.1 version - May 31, 2011
    • equals() is symmetric is tested correctly
  • 0.1 version - May, 2011
    • initial release
Last updated by mgryszko 11 months ago
Last updated by admin 1 year ago