Re: Maven 1.1 JUnit vs Integration tests

2005-09-17 Thread Thomas Van de Velde
You could create another project that holds only your integration tests.

Cheers,
Thomas

On 9/17/05, Mark Slater <[EMAIL PROTECTED]> wrote:
> 
> Whoops, sorry. I'm using Maven 1.0.2 actually.
> 
> Mark
> 
> On Sep 17, 2005, at 11:51 AM, Mark Slater wrote:
> 
> > I'm using Maven 1.1 right now, and I'd like to separate my JUnit
> > unit tests from my JUnit integration tests. The former test only a
> > single class/layer of the app, while the latter test from the
> > service layer to the database. I'm using Spring and JDO2, and the
> > app is a web services app. I want to have one set of integration
> > tests that are internal to the services (ie. Axis and Tomcat are
> > not involved) and another that goes all the way from the web
> > service to the db. But I don't want those test to run every time
> > because they take far longer to run (minutes compared to seconds...
> > for each test).
> >
> > Is there a plugin that would let me do this? Or are there JUnit
> > plugin properties that specify JUnit integration tests that don't
> > use cactus (the properties I found ... maven.iutest.* seem to
> > assume the use of a webapp to perform the tests)?
> >
> > Mark
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


Re: Maven 1.1 JUnit vs Integration tests

2005-09-17 Thread Mark Slater

Whoops, sorry. I'm using Maven 1.0.2 actually.

Mark

On Sep 17, 2005, at 11:51 AM, Mark Slater wrote:

I'm using Maven 1.1 right now, and I'd like to separate my JUnit  
unit tests from my JUnit integration tests. The former test only a  
single class/layer of the app, while the latter test from the  
service layer to the database. I'm using Spring and JDO2, and the  
app is a web services app. I want to have one set of integration  
tests that are internal to the services (ie. Axis and Tomcat are  
not involved) and another that goes all the way from the web  
service to the db. But I don't want those test to run every time  
because they take far longer to run (minutes compared to seconds...  
for each test).


Is there a plugin that would let me do this? Or are there JUnit  
plugin properties that specify JUnit integration tests that don't  
use cactus (the properties I found ... maven.iutest.* seem to  
assume the use of a webapp to perform the tests)?


Mark




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



Maven 1.1 JUnit vs Integration tests

2005-09-17 Thread Mark Slater
I'm using Maven 1.1 right now, and I'd like to separate my JUnit unit  
tests from my JUnit integration tests. The former test only a single  
class/layer of the app, while the latter test from the service layer  
to the database. I'm using Spring and JDO2, and the app is a web  
services app. I want to have one set of integration tests that are  
internal to the services (ie. Axis and Tomcat are not involved) and  
another that goes all the way from the web service to the db. But I  
don't want those test to run every time because they take far longer  
to run (minutes compared to seconds... for each test).


Is there a plugin that would let me do this? Or are there JUnit  
plugin properties that specify JUnit integration tests that don't use  
cactus (the properties I found ... maven.iutest.* seem to assume the  
use of a webapp to perform the tests)?


Mark

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