Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unroll parameterized features/tests by default - feature proposal #967
Feature proposal - Unroll parameterized features/tests by default
In most of the cases parameterized features/tests are more readable while unrolled. Even if the
Starting with Spock 2.0 all parameterized tests would be unrolled by default. There would be still an ability to provide custom messages with the
Solutions for 1.x
There is the spock-global-unroll (global) extension which once added to classpath automatically unroll all parameterized tests in the whole projects. There is no need to add any extra code or annotation - all (parameter-less)
It can be used as a preparation for Spock 2.0 with similar behavior available out-of-box.
Feel free to leave comment in that issue.
Personally, I do not use
I do not need to see detailed output for every test as long as tests run green. But when tests fail, Spock provides enough details to find failed test quickly even without
My suggestion is to leave it as it is, there's no need to introduce breaking change for that.