This seems like more of a Maven question than an AppFuse question - I'd
suggest asking on the Maven user list. Nabble.com works well for that.

On Tue, May 5, 2009 at 1:21 AM, Kenny Ha <vifaxoc...@yahoo.com> wrote:

>
> 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" and no "Test Cases".Whats wrong??
>
> Thanks and Regards!
> --
> View this message in context:
> http://www.nabble.com/Surefire-report-tp23382320s2369p23382320.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to