You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Greenberg, Gary" <Ga...@netapp.com> on 2006/06/16 21:05:40 UTC
How to render surefire reports
I've got a maven2 driven project that I am developing using Netbeans IDE
with maven plugin.
When I run my JUNIT tests it generates me files in
.../target/surefire-reports. For each unit test I am getting an XML
file.
However I don't have anything to render it for display or printing.
Am I suppose to write my own XSL? What I am missing?
Thanks,
Gary
P.S. Please CC responce to me directly as our mail proxy won't allow
mailing list subscription
Re: How to render surefire reports
Posted by Tim Kettler <ti...@udo.edu>.
Hi,
you are looking for the surefire-report plugin:
http://maven.apache.org/plugins/maven-surefire-report-plugin/
Add this to your pom:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
</plugins>
</reporting>
when you run 'mvn site' it generates a surefire report in the 'Project Reports' section of
the site.
-Tim
Greenberg, Gary schrieb:
> I've got a maven2 driven project that I am developing using Netbeans IDE
> with maven plugin.
> When I run my JUNIT tests it generates me files in
> .../target/surefire-reports. For each unit test I am getting an XML
> file.
> However I don't have anything to render it for display or printing.
> Am I suppose to write my own XSL? What I am missing?
> Thanks,
> Gary
>
> P.S. Please CC responce to me directly as our mail proxy won't allow
> mailing list subscription
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org