Hi Alexandre, This is an area still in discussion. There's already an integration-test phase. A Cactus test is an integration test.
If you're testing several ejbs then simply creation an integration project where you depend on all those ejbs you wish to test, wire the surefire plugin to the integration-test phase and use before-integration-test and after-integration-test for setting up and tearing down your test prerequisites. However you'll find all of this still shaky as it's under discussion. See http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies -Vincent > -----Original Message----- > From: Alexandre Russel [mailto:[EMAIL PROTECTED] > Sent: lundi 9 janvier 2006 09:51 > To: [email protected] > Subject: what phase for ejb unit test? > > Hi, > what Build Lifecycle Phase are you using for the unit test of EJB. I > think test is the best but it is said in the doc: > run tests using a suitable unit testing framework. These tests should > not require the code be packaged or deployed. > The other possibility is integration test but my integration test are > testing more than 1 ejb or an all application so it doesn't seems very > logic. > I was wandering where other people put their test(in my case cactus test). > alexandre. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
