Allure annotation (e.g.Feature, Story) does not work with JUnit 5 dynamic tests #189
Closed
1 of 3 tasks
Labels
theme:junit-platform
JUnit 5 related issue
type:bug
Something isn't working
work:review
Work is done, waiting for review
I'm submitting a ...
What is the current behavior?
JUnit 5 dynamic tests are not supported at all. Don't add annotation information to results.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Have simple code in allure-junit5-example project
@feature("Some feature")
@Severity(SeverityLevel.CRITICAL)
public class SimpleTest {
}
Annotation feature and story should be added in each generated dynamic test in allure results. The same should happen if TestFactory method is annotated by any meaningful annotation such Description, DisplayName, Feature, Story etc.
What is the expected behavior?
JUnit 5 dynamic tests should support all annotations.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: