Re: surefire-report:report runs all the unit tests?

2006-04-17 Thread Wayne Fay
From what I've read and seen, it sounds like this is not supported, so
you will probably need to write a new plugin if you require this
functionality.

Wayne

On 4/17/06, Jochen Cordes <[EMAIL PROTECTED]> wrote:
> I also observed this behaviour when using the surefire plugin. It seems
> that the surefire report plugin has to re-execute the test lifecycle
> again. What I wanted to achieve is that the reports are only generated
> from the existing xml results. I can't use the surefire report plugin on
> it's own since I can't specify which test cases to exclude/include.
>
> Any suggestions?
>
> Kind regards,
>
> Jochen.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: surefire-report:report runs all the unit tests?

2006-04-17 Thread Jochen Cordes
I also observed this behaviour when using the surefire plugin. It seems 
that the surefire report plugin has to re-execute the test lifecycle 
again. What I wanted to achieve is that the reports are only generated 
from the existing xml results. I can't use the surefire report plugin on 
it's own since I can't specify which test cases to exclude/include.


Any suggestions?

Kind regards,

Jochen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



surefire-report:report runs all the unit tests?

2006-02-03 Thread brian . a . yoffe
I am using clover and I want to generate both clover and surefire reports. 
 When I execute mvn site with the following in my pom I see that all unit 
tests are executed twice.   Is there a way to prevent this from happening? 
   Am I using the plugins as intended?

Further, when I execute mvn surefire-report:report (which I thought was 
supposed to basically parse XML and create HTML reports) it causes all 
unit tests to reexecute.Clover already is executing all the unit tests 
- I basically want the surefire-report-maven-plugin to harvest the XML in 
the clover directory.

  
  
org.apache.maven.plugins
maven-clover-plugin

  c:\dev\clover.license

   
  
org.codehaus.mojo
surefire-report-maven-plugin 

 
${project.build.directory}/clover/surefire-reports
 
  


Thanks,
Brian Yoffe

This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates