Groovy / Gradle is here where Spock is used for unit testing.
Does Spock and / or Gradle support test suites or named test suites? For reasons beyond the scope of this question, there are certain Spock ( Specifications) tests that the CI server simply cannot run.
So, it would be great to divide all the tests of the Spock application into two groups:
- "
ci-tests"; and - "
local-only-tests"
And then, perhaps, we could call them through:
./gradlew test --suite ci-tests
etc .. is that possible? If so, what does the configuration / config look like?
smeeb source
share