-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get executing test method in ParameterResolver
of @MethodSource
factory method
#3323
Comments
ParameterResolver
of @MethodSource
factory method
Accessing the method from the junit5/junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/ParameterResolver.java Lines 77 to 79 in 49e74f7
|
@marcphilipp actually |
ParameterResolver
of @MethodSource
factory methodParameterResolver
of @MethodSource
factory method
@pxzxj Thanks for the feedback! You're correct. This use case is not currently supported. Team decision: Investigate whether it's feasible to support this use case. |
I took a short look at this issue while preparing #4032. I was not able to reproduce the issue descriped here on the current |
I've encountered this issue after having the same problem with version |
This was indeed fixed in #3905. @JojOatXGME Thanks for trying to reproduce it! 👍 |
Deliverables
ParameterResolver
of parameterizedTest factory method. for example belowextensionContext.getTestMethod()
should return methodtestWithFactoryMethodWithArguments
Related issues
ExtensionContext
for test-specific callbacks in extensions #3445The text was updated successfully, but these errors were encountered: