Duplicated test results in the report
Sharmi34 opened this issue · 2 comments
Sharmi34 commented
Getting duplicated test results for allure-cucumber when allure-junit is used
Steps to reproduce the behavior:I
- Add both allure-junit5 and allure-cucumber7-jvm maven dependency in pom.xml
- Use maven-failsafe-plugin for integration test (uses cucumber bdd)
- Run mvn clean verify
- Duplicated results will be generated in allure report (one by allure-cucumber7-jvm and one by allure-junit5)
My investigation is that as the cucumber uses junit runner , when we add allure-junit5 dependency - that also run the cucumber test case.
cheshi-mantu commented
hi @Sharmi34
this is actually correct behaviour.
You need to exclude junit5 dependency