I am writing a test package and ran into a problem. I use cucumber and defined several function files. When I run the test package, the progress (html report and json format) of one function file is overwritten the next time the next file is run.
I have several test classes that define these function files. I am trying to find a way in which I can get one html report for all function runs to give a consolidated view.
Examples of test files for reference:
@CucumberOptions(plugin = { "pretty", "html:target/report/html",
"json:target/report/json/result.json" })
public class BaseFeature {
}
@RunWith(Cucumber.class)
@CucumberOptions(features = "classpath:test/feature/rest/query.feature"
, monochrome = true
, glue={"a.b.c.rest"})
public class RunTest1 extends BaseFeature {
}
@RunWith(Cucumber.class)
@CucumberOptions(features="classpath:test/feature/soap/book.feature"
, monochrome = true
, glue="a.b.c.soap")
public class RunTest2 extends BaseFeature {
}
Know what you can do to have a summary report.