I've reached the stage where I want to be able to run some JUnits that
require :-

- Incontainer JUnits (to be run by JUnitEE or Cactus)
- JUnits that call Session Beans (therefore J2EE container needs to be started)

I know how to do this in Ant but I can't seem to find any guides to
recommendations of how to achieve this with M2.

- I know there is the integration test phase, but how do I use it
- Where should I put these Server side JUnits : do they go inside
     src/test/java   alongside normal JUnits and then exclude them
from 'test' phase?
     Or is it better to have another artefact serverside_tests.jar
that is built separately.
- How do I get the server started (unfortunately I'm using OC4J so
don't have the luxury of existing Ant Tasks. I think I could use Cargo
or just start with exec - but might not be able to stop the server
afterwards.

- Can I aggregate the JUnit Test results with the normal JUnit results ?
- How do I turn all the Test results into HTML (like JUnitReport does) ?

Any advice gratefully received.

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

Reply via email to