我使用Selenium webdriver,JUNIT,MAVEN设置selenium maven项目。什么是插件,通过使用Selenium,JUNIT,MAVEN生成报告的依赖项
所以在pom.xml中,我已经给出了硒相关的依赖关系..任何人都可以给我发送什么插件和依赖关系来生成Junit报告?
我使用Selenium webdriver,JUNIT,MAVEN设置selenium maven项目。什么是插件,通过使用Selenium,JUNIT,MAVEN生成报告的依赖项
所以在pom.xml中,我已经给出了硒相关的依赖关系..任何人都可以给我发送什么插件和依赖关系来生成Junit报告?
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<type>maven-plugin</type>
</dependency> <reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
<configuration>
<outputName>MavenSeleniumTestResults</outputName>
</configuration>
</plugin>
</plugins>
如果我使用driver.close();在代码中,如果我通过使用像mvn安装命令安装我面临错误[错误]无法执行目标org.apache.maven.plugins:maven-surefire-plugin:2.10:测试(默认测试)项目DARTMavenSelenium:有是测试失败。 [错误] [错误]请参阅C:\ Users \ D888977 \ workspace \ DARTMavenSelenium \ target \ surefire-reports获取单个测试结果。 [错误] - > [帮助1] [错误] – Raju 2013-03-21 13:15:03
请参阅http://maven.apache.org/surefire/maven-surefire-report-plugin/ – 2013-03-19 01:05:56