No reports
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021
06:13 AM
09-08-2021
06:13 AM
No reports
after test run i am not getting reports, just console output
my TestRunner:
package testRunner;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(
plugin = {"pretty\",\"html:target/test-output\", \"json:target/cucumber.json\", \"junit:target/cucumber.xml"},
features = "features",
monochrome = true,
glue = {"steps"}
)
public class TestRunner {
}
project structure:
Labels:
- Labels:
-
Cucumber-JVM
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2021
08:18 AM
09-08-2021
08:18 AM
Your plugin list is wrong. You have a single string with escaped quotes. Instead, try this:
plugin = {"pretty","html:target/test-output", "json:target/cucumber.json", "junit:target/cucumber.xml"}
------
I'm the creator and lead developer of Cucumber Open.
I'm the creator and lead developer of Cucumber Open.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2021
12:50 AM
09-09-2021
12:50 AM
I have tried your proposed solution. but nothing was created in target directory. only results are still in console only
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021
07:07 AM
09-14-2021
07:07 AM
console reports look like this:
so, it looks like framework is not looking at test runner at all. where might be the problem? project structure or somewhere I have specifically point out to create reports?
