You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JUnit5 internally treats @ParameterizedTest as a specialized form of a test template, storing it as an instance of TestTemplateTestDescriptor in the DiscoveryResult. For execution, TestTemplateTestDescriptor leverages DynamicTestExecutor, which triggers the dynamicTestRegistered method on registered listeners. As a result, BazelJUnitOutputListener incorrectly classifies ParameterizedTest as a dynamic test.
The text was updated successfully, but these errors were encountered:
How to reproduce?
Sample result test in MixedTest.java file
Expected
expected name to contain testMethodName and index
Actual
But test name only contains index
Issue
JUnit5 internally treats @ParameterizedTest as a specialized form of a test template, storing it as an instance of TestTemplateTestDescriptor in the DiscoveryResult. For execution, TestTemplateTestDescriptor leverages DynamicTestExecutor, which triggers the dynamicTestRegistered method on registered listeners. As a result, BazelJUnitOutputListener incorrectly classifies ParameterizedTest as a dynamic test.
The text was updated successfully, but these errors were encountered: