Re: Move tests to 'integration-test'

2006-11-15 Thread Wendy Smoak
On 11/15/06, Deluigi Marcus <[EMAIL PROTECTED]> wrote: The module itself works fine, but when I launch the life cycle from the parent module, all tests get executed in the test phase. Can anybody give me a hint how to solve this problem? As you've discovered Maven does not yet support integra

Re: Move tests to 'integration-test'

2006-11-15 Thread Wendy Smoak
On 11/15/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: Since you already have a separate module for the integration tests, the easiest solution is to move your tests out of src/test/java. Surefire will still run in the 'test' phase, but it won't find anything to compile and run. Sorry, that's not

Re: Move tests to 'integration-test'

2006-11-15 Thread diroussel
I've not managed to get integration tests working myself, but Where have you put your tests? I've noticed the surefire pluin itself has it's tests in src/it/testX. Do: svn checkout https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-surefire-plugin maven-surefire-plugin and have a l

Move tests to 'integration-test'

2006-11-15 Thread Deluigi Marcus
Hi. I have a module on which I want to execute all Junit tests in the integraton-test phase. I want to do this because I need to first start Tomcat before the test and stop it after the test. Thererefore, I put the start into the pre-integration-test phase and the stop into the post-integration-te