Parameter resolution should be more flexible #5111
helpermethod
started this conversation in
General
Replies: 1 comment 1 reply
|
Yes, this is by design: https://docs.junit.org/current/user-guide/#writing-tests-parameterized-tests-consuming-arguments-methods While Jupiter could figure that out |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi!
Just stumpled over an interesting problem:
While this works
This does not
because JUnit is not able to decide how to resolve the
tempDirparameter. BecausetempDiris annotated with@TempDir, I would expect JUnit to figure this out.Is this by design? Would this overcomplicate the parameter resolution algorithm?
All reactions