
spock - issue #340
spock.lag.Requires.class is missing from the spock-core-0.7-*.jar files
What steps will reproduce the problem? If possible, provide source code and stack trace. 1. putting import spock.lang.Requires in test code gives error that Groovy: unable to resolve spock.lang.Requires 2.look inside both spock-core-0.7-groovy-2.0.jar and spock-core-0.7-groovy-1.8.jar and the spock.lag.Requires.class file is missing 3.
What version of Spock and Groovy are you using? Spock - 0.7 Groovy 2.0 and 1.8
Please provide any additional information below. You can also assign labels.
Comment #1
Posted on Jan 17, 2014 by Helpful Lion@Requires was added after the 0.7 release, and can be found in the 1.0-SNAPSHOT release, which lives in the sonatype repo:
Comment #2
Posted on Jan 17, 2014 by Swift DogThank you.
It would be nice if this fact was mentioned in the documentation.
Status: New
Labels:
Type-Defect
Module-Core