2013-03-18 119 views

回答

0
<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> 

+0

如果我使用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

相关问题