如何使用黄瓜调用监听器?

时间:2015-03-11 08:37:21

标签: selenium-webdriver cucumber cucumber-junit

这是我的带有黄瓜的Junit跑步者文件。我想在这里调用列表,但不知道如何做到这一点。

package com.olmgroup.runner;

import org.junit.runner.RunWith;

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;

@RunWith(Cucumber.class)
@CucumberOptions(format={"pretty","junit:reports/junit/junit.xml",      
 "html:reports/html", 


 "json:reports/json/integration_report.json","junit:reports/xml/cucumber.xml"}, 
                      features="src/test/resources/integration.feature", dryRun=false, glue="com.olmgroup.script",
                      tags="@IntegrationTesting")

public class IntegrationRunner{

}

0 个答案:

没有答案