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
{{ message }}
Repository navigation
allure-junit-platform missing report exclusion for allure-cucumber8-jvm #1497
allure-junit-platform has exclusion code in AllureJunitPlatform.shouldSkipReportingFor(TestIdentifier) to avoid double-reporting test cases that other Allure adapters already report. Currently it explicitly checks whether allure-cucumber7-jvm is in the classpath, meaning that the new allure-cucumber8-jvm package is not excluded from junit reporting. This causes the tests to get reported twice in different parts of the report.
Screenshots
Before (running with allure-cucumber7-jvm and Cucumber 7):
After (running with allure-cucumber8-jvm and Cucumber 8):
The duplicated scenarios at the top level don't have any steps reported (since they were reported by the junit-engine plugin)
Proposed Fix
AllureJunitPlatform.shouldSkipReportingFor(TestIdentifier) needs an additional check similar to HAS_CUCUMBERJVM7_IN_CLASSPATH for allure-cucumber8-jvm as well to avoid double-reporting.
Activity
Skip JUnit Platform reporting when allure-cucumber8-jvm is present (f…