You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kenny Ha <vi...@yahoo.com> on 2009/05/06 03:18:24 UTC
Surefire report
Hi all,
I want to build a surefire report test unit and performance, so I config
surefire plugin like this :
[...]
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<reportSets>
<reportSet>
<id>unit</id>
<configuration>
<reportsDirectory>
${project.build.directory}/surefire-reports/unit
</reportsDirectory>
<outputName>surefire-report-unit</outputName>
</configuration>
<reports>
<report>report</report>
</reports>
</reportSet>
<reportSet>
<id>perf</id>
<configuration>
<reportsDirectory>
${project.build.directory}/surefire-reports/perf
</reportsDirectory>
<outputName>surefire-report-perf</outputName>
</configuration>
<reports>
<report>report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
[...]
Then I run mvn site command :
[INFO] Generating "Surefire Report" report.
[INFO] Generating "Surefire Report" report.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 minutes 45 seconds
[INFO] Finished at: Tue May 05 11:57:25 ICT 2009
[INFO] Final Memory: 66M/127M
[INFO]
------------------------------------------------------------------------
Message below said that mvn site generate 2 links for Surefire Report.Whats
this problem??
And when I click both of links ,the result displays :
Surefire Report
Summary
Tests Errors Failures Skipped Success Rate Time
0 0 0 0 0% 0
Note: failures are anticipated and checked for with assertions while errors
are unanticipated.
Thats all I see.No "Package List", no "Test Cases",...Whats wrong??
Thanks and Regards!
--
View this message in context: http://www.nabble.com/Surefire-report-tp23398521p23398521.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org