allure-java icon indicating copy to clipboard operation
allure-java copied to clipboard

Allure reports shows 2 separate suites when running a single suite

Open SealviewTW opened this issue 3 years ago • 1 comments
trafficstars

Dupe

I am using:

  • Cucumber TestNg Runner (public class TestRunner extends AbstractTestNGCucumberTests {)
  • Cucumber Options io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm <testng.version>7.4.0</testng.version> <cucumber.version>7.2.3</cucumber.version> <allure.version>2.17.3</allure.version> <maven.surefire.version>3.0.0-M5</maven.surefire.version> <maven.compiler.version>3.8.1</maven.compiler.version> <allure.maven.version>2.11.2</allure.maven.version> <aspectj.version>1.9.9.1</aspectj.version>

allure-results folder has the suite duplicated as well (once for AllureCummber7JVM plugin and once for AbstractTestngRunner

Screenshot 2022-05-13 at 16 18 57

How can I remove the duplicated results so Allure does not process them?

SealviewTW avatar May 13 '22 13:05 SealviewTW

Looks like the junit platform runner is always added and I'm struggling to figure out how to disable it.

sksamuel avatar Jul 04 '22 17:07 sksamuel

@sksamuel , were you able to fix this. Am also having similar issue

Sharmi34 avatar Jan 06 '23 11:01 Sharmi34

fixed by https://github.com/allure-framework/allure-java/pull/947

baev avatar Aug 17 '23 14:08 baev