I want to revisit an issue raised here.
I understand the concept of ignoreFailures, and setting that to true or false. But let elaborate on my desired workflow, and you guys can let me know if it’s possible.
We us Spock, and specifically use the @Unroll extensively to do data-driven testing. These different Spec classes that use @Unroll are called post-build explicitly using individual Test Tasks… one test for set of data-driven tests. I would like all the elements in the @Unroll to complete regardless of whether any individual test fails… but I want to the overall task that called the Spec to fail if there were any failures.
I know… it’s a bit complex, but was wondering if there was a solution.