Cucumber TestRunner - all scenarios displayed as single test case in report

Hello, I am using Cucumber with Katalon, we would like to use cucumber Test Runner so we can pass tags to determine which scenarios should be run.

import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;

@RunWith(Cucumber.class)
@CucumberOptions(
tags = “@targetedPackTest”,
features=“Include/features”,
glue=“steps”,
monochrome = true,
plugin = [ “pretty”, “html:target/cucumber-reports” ])
public class TestRunner {

}

and we created new test case where we use appropriate keyword to run with Cucumber Runner

CucumberKW.runWithCucumberRunner(TestRunner.class)

it is all working, but whenever we see in katalon reports or katalon log viewer, all we see is single test case with tons of steps for every scenario that was run instead of seeing each scenario individually like if we would have indyvidual katalon test cases for each feature file. Is there anything we can do?

1 Like

listeners integrated properly

can you please provide bit more context?