We're migrating our application into a JEE container, and looking for tools to use for unit testing (and integration testing) our migrated app. Our requirements include:
- Ad-hoc testing: the ability to run tests manually, on demand (to be used by developers while developing code)
- Batch testing: the ability to run a large (and growing) set of tests regularly
- In-Container: integration tests that use EJBs as they are deployed in the container
- Unit testing: Testing of classes not necessarily inside an EJB context
- Nice to have: Simple to set up, integrates with ant/IDE
- No requirement to test Servlets/JSPs - only POJOs and EJBs
What are you using to achieve testing in JEE environment? What technologies/setup have you deployed?
My research have uncovered Cactus and JUnitEE: have you had success setting them up?