I found a workaround here :
http://jira.codehaus.org/browse/MSUREFIRE-113

Julien Henry a écrit :

Up please !

How do you run test suites with new surefire plugin ?

Thanks

Julien Henry a écrit :

Hi,

My tests are launched thanks to a TestSuite :

public class JWebUnitTest extends TestSuite {

public static Test suite() {
TestSuite suite = new TestSuite("Test for net.sourceforge.jwebunit");
suite.addTestSuite(FormSubmissionTest.class);
...
return new JettySetup(suite, TestingEngineRegistry.TESTING_ENGINE_HTMLUNIT);
}

public static void main(String[] args) {
junit.textui.TestRunner.run(suite());
}
}

It works fine with surefire 2.1.3 :
[surefire] Tests run: 150, Failures: 1, Errors: 12, Time elapsed: 6,391 sec <<<<<<<< FAILURE !!

But now with surefire 2.2 :
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.

Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

What is the problem ?

Thanks.


--

_________________________________________________________________________

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com <http://www.capgemini.com/>

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice



**Join the Collaborative Business Experience**** **
_________________________________________________________________________



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