You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mordo, Aviran (EXP N-NANNATEK)" <av...@lmco.com> on 2005/11/17 22:31:09 UTC

[m2] Generating Junit Reports

Hi, I'm new to maven and I'm trying to generate Junit reports from the
Junit tests that I run, but I could not find the right plug-in  and goal
to run. (I could only find some stuff for m1).

Can anyone show me an example of generating junit reports for m2 ?

Thanks

Aviran

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Generating Junit Reports

Posted by Brett Porter <br...@gmail.com>.
I think you may be looking for th eHTML report, which is this plugin
http://mojo.codehaus.org/surefire-report-maven-plugin/

On 11/18/05, John Tolentino <jt...@exist.com> wrote:
> Hi Aviran,
>
> You can try maven-surefire-plugin
> (http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html).
> It calls junit tests and also generates reports (see reportFormat).
>
> You can find most of the documents you'll need here:
> http://maven.apache.org/guides/index.html. To configure the surefire
> plugin, look at Guide to Configuring Plug-ins.
>
> Hope this helps.
>
> Regards,
> John
>
> Mordo, Aviran (EXP N-NANNATEK) wrote:
>
> >Hi, I'm new to maven and I'm trying to generate Junit reports from the
> >Junit tests that I run, but I could not find the right plug-in  and goal
> >to run. (I could only find some stuff for m1).
> >
> >Can anyone show me an example of generating junit reports for m2 ?
> >
> >Thanks
> >
> >Aviran
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Generating Junit Reports

Posted by John Tolentino <jt...@exist.com>.
Hi Aviran,

You can try maven-surefire-plugin 
(http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html). 
It calls junit tests and also generates reports (see reportFormat).

You can find most of the documents you'll need here: 
http://maven.apache.org/guides/index.html. To configure the surefire 
plugin, look at Guide to Configuring Plug-ins.

Hope this helps.

Regards,
John

Mordo, Aviran (EXP N-NANNATEK) wrote:

>Hi, I'm new to maven and I'm trying to generate Junit reports from the
>Junit tests that I run, but I could not find the right plug-in  and goal
>to run. (I could only find some stuff for m1).
>
>Can anyone show me an example of generating junit reports for m2 ?
>
>Thanks
>
>Aviran
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org