6、jenkins安装cucumber-report 插件,便于项目构建成功后,查看单元测试或用例执行的是否成功
5、cucumber跟testNG相结合时,不用指定@RunWith(Cucumber.class),类要继承 AbstractTestNGCucumberTests,才能执行pom文件中的单元测试文件 *.xml。
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<targe