Hi,

I have 2 test suites : AllTestsHtmlUnit.java and AllTestsHttpUnit.java

Here is what I put in my pom :
           <plugin>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
                   <includes>
                       <include>**/AllTests*.java</include>
                   </includes>
                   <testFailureIgnore>true</testFailureIgnore>
               </configuration>
           </plugin>

And now, if I run "mvn test", I get :
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running net.sourceforge.jwebunit.AllTestsHtmlUnit
[surefire] Tests run: 155, Failures: 0, Errors: 1, Time elapsed: 4,656 sec <<<<<<<< FAILURE !!
[surefire] Running net.sourceforge.jwebunit.AllTestsHttpUnit
[surefire] Tests run: 155, Failures: 0, Errors: 1, Time elapsed: 1,782 sec <<<<<<<< FAILURE !!

Surefire run 2 times the same suite. Indeed, if I change my pom :
                   <includes>
                       <include>**/AllTestsHtmlUnit.java</include>
                   </includes>

I get :
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running net.sourceforge.jwebunit.AllTestsHtmlUnit
[surefire] Tests run: 155, Failures: 6, Errors: 20, Time elapsed: 5,422 sec <<<<<<<< FAILURE !!

I tried with the latest snapshot (2.1.3-SNAPSHOT) and the bug is still present.

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to