testing,junit,spock,equalsverifier
It all works correctly but in spock it's a bit different, see: @Grab('org.spockframework:spock-core:0.7-groovy-2.0') @Grab('cglib:cglib-nodep:3.1') @Grab('nl.jqno.equalsverifier:equalsverifier:1.7.2') import spock.lang.* import nl.jqno.equalsverifier.* class Test extends Specification { def 'sample'() { when: EqualsVerifier.forClass(SomeClass).verify() then: noExceptionThrown() } } class SomeClass {} This spec fails since the exception is thrown - SomeClass needs to be corrected....