Open ilya-ershov opened 6 years ago
Which gradle/java/spock versions are you using?
I am also facing the similar problem. Details:
5.5.1
1.8
1.2-groovy-2.5
I have also tried the same with latest Spock framework 1.3-groovy-2.5
but issue still exists.
I've switched to a new version of java and now can run through IDE with @argFiles Problems seems gone
@ilya-ershov to which version of java you have switched?
Actually I want my tests should get picked while running gradle build
command as after that jacocoTestReport task will kick in to generate code coverage reports.
@AtulDwivedi at least 10th (however support for argFiles comes somewhere in 9th version). Now I'm using 13th openjdk and it works great
Thats very disappointing, but Spock locate no tests if pathing jar is used Simple steps to reproduce:
git clone git@github.com:spockframework/spock-example.git
plugins { id "ua.eshepelyuk.ManifestClasspath" version "1.0.0" }
gradle build
Actual: all tests are ignored (you can try fail any of them - no reactions) Expected: all tests are run and results are shown as usual