Flaky tag not working in TestNG
I'm submitting a ...
- [X] bug report
- [ ] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Test cases are not mark as Flaky
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
- Mark a test cases using the tag @Flaky
- Run test cases using a test engine suite
- Use allure command line to generate the report
What is the expected behavior?
Test cases are marked as flaky
What is the motivation / use case for changing the behavior?
I am also using JUnit 5, it could be great if you can fix it for JUnit 5 too
Please tell us about your environment:
Attaching github testing project: https://github.com/ElenaAlejo/FlakyAllureTest/
I create the report in three different ways:
-
Using Gradle plugin. Run test cases from Gradle and Create the report using gradle tasks: https://github.com/ElenaAlejo/FlakyAllureTest/tree/master/allure-report-gradle Output: This version is not compatible as you mention, the flaky option is not available
-
Use the xml results for create the report using the command line: https://github.com/ElenaAlejo/FlakyAllureTest/tree/master/allure-report-suite-allurecommand Output: Flaky category appears but test cases are not marked
-
Run test cases using Idea (it generates test results) and create the report using the command line: https://github.com/ElenaAlejo/FlakyAllureTest/tree/master/allure-report-mix
| Allure version | 2.13.3 |
|---|---|
| Test framework | [email protected] |
| Allure integration | [email protected] |
| Generate report using | command line 2.13.3 |
Other information
https://github.com/ElenaAlejo/FlakyAllureTest/