This is the code in my testRunner class:
package testRunners;
import org.junit.runner.RunWith;
import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"src/test/resources"},
glue = {"stepDef"},
plugin = {"pretty", "html:target/cucumber-reports"}
)
public class testRunner {
}
After running the code, the target folder does not show the index.html file (I have refreshed multiple times)
This is how it should look like:
How do I get an index.html report in the target folder?
Aucun commentaire:
Enregistrer un commentaire