Re: Question: Unit and Integration testing of a WAR

2007-05-22 Thread Nick Stolwijk
With most of my problems with Maven it is a combination of: - Better builds with Maven e-book [1] - Sonatype e-book [2] - The plugin documentation [3] [4] - The Maven 2 IRC channel [5] And offcourse, this userlist, maven 2 and plugins sourcecode Hth, Nick Stolwijk [1] http://www.mergere.com/m2

Re: Question: Unit and Integration testing of a WAR

2007-05-22 Thread Nelz
Nick, et al... Thanks for the suggestion... But I have to ask a meta-question: how was I supposed to ever find that myself...? It's nowhere in the Surefire plugin documentation... I still don't even know that it will work, nor does the documentation give any hint that it might. And to bring th

Re: Question: Unit and Integration testing of a WAR

2007-05-22 Thread Nick Stolwijk
Maybe this'll work: org.apache.maven.plugins maven-surefire-plugin 2.3 surefire-test test surefire-integration-test integration-test src/itest/java

Question: Unit and Integration testing of a WAR

2007-05-22 Thread Nelz
Ok guys... Am I running against "best practices" here? Is that why this is so hard? I have a simple-ish project. The project artifact is a WAR file. I would like to Unit Test the code before it gets packaged, and I would like to run Integration Tests after it gets packaged. The Sonatype book