Closed ArvindJoshi-okta closed 6 months ago
This sounds like more of a question about JUnit5, of which I'm unfortunately not an expert.
@TestParameterInjectorTest
is annotated with the TestParameterInjectorExtension
:
@TestTemplate
@ExtendWith(TestParameterInjectorExtension.class)
@Retention(RUNTIME)
@Target({METHOD})
public @interface TestParameterInjectorTest {}
Maybe JUnit5 isn't running your interceptor because of it already being claimed by a different extension, or maybe it is because of the way TestParameterInjectorExtension
is implemented.
Thanks, following up here https://github.com/junit-team/junit5/issues/3808
Hello, I am trying to add a JUnit5 extension to my test class, but for some reason, the parameterized test isn't executing it. A non-parameterized test within the same class seems to be executing the extension fine. Am I missing something?
Here's my test class
Here's my extension, simplified to just skip the test