我正在使用这样的类,我需要为我的TestCases找到CodeCoverage。如何通过Cucumber Runner做到这一点?
黄瓜测试包;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import features.Steps;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(
plugin = {"junit:Cucumber-Result.xml"},
features = {"Constants.feature"},
glue = {"features"}
)
public class CucumberRunnerTest {
}