mercredi 20 janvier 2021

Cucumber is not generating index.html file in the target folder

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)

enter image description here

This is how it should look like:

enter image description here

How do I get an index.html report in the target folder?

Aucun commentaire:

Enregistrer un commentaire