Nice idea - seems to do what I need - thanks

James

-----Original Message-----
From: Martijn Dashorst [mailto:[EMAIL PROTECTED] 
Sent: 22 September 2004 11:51
To: Maven Users List
Subject: Re: Checking if tests are running under maven


[EMAIL PROTECTED] wrote:

>I think this only applies to Eclipse 3.0?
>
>We're on 2.1 still as the clearcase support in 3.0 is currently pretty 
>terrible
>
>  
>
Ok, if you're stuck on 2.1 then perhaps you could define TestSuites (one 
for each developer):

public class Developer1Suite() extends TestCase {
    public static Test suite() {
         TestSuite suite = new TestSuite();
         suite.addTestSuite(MyFooTest.class);
         suite.addTestSuite(MyBarTest.class);
         return suite;
    }
}

This way, you can exclude the developer suites easily with an ant 
pattern, and the developers can run their own tests easy.

Hope this helps until eclipse 3.0 :-)

Martijn

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



------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.

------------------------------------------------------------------------


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

Reply via email to