创建Cucumber启动器
创建一个Class用作Cucumber的启动器
描述如下
package com.steps;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
/**
- @author rechin
-
- @RunWith(Cucumber.class) 这是一个运行器 ,指用Cucumber来运行测试
- @CucumberOptions中的features,用于指定我们项目中要运行的feature的目录