Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Injecting custom feature method parameters does not work nicely with data-driven methods #652
Having the following global extension
and the specification
This means if you want to inject custom feature method parameters (e. g. when using JMockit because of the need of mocking static calls or mocking calls in objects that are not create by the test (given JMockit would support Spock which it does not yet, but I might try to contribute this if it would work properly), or when injecting custom stuff for test (I actually tried this for a project when I found this issue)) into data-driven methods, you always have to
Both points seems a bit cumbersome to use and superfluous imho.
What I would like to have as behaviour is:
Also I suggest having
Or of course some other means to set parameters from interceptors like by name or similar.