Re: Which in-container test framework do you use?

2012-04-15 Thread Russell Gold
If you're just testing servlets, ServletUnit is another reasonable choice. It runs unit tests w/o a web container. On Apr 13, 2012, at 11:03 AM, Lucas Persson wrote: Hi I am about to migrate some Ant build system to Maven and have run into the JUnitEE ant task. I can not really find any

Re: Which in-container test framework do you use?

2012-04-15 Thread Yuen-Chi Lian
Design your apps so that things can be tested separately. I maximize unit tests as much as I can with mocks. To ensure that the container and the exposed web APIs are functioning correctly, I have minimum integration tests with my app deployed via Cargo (through Maven plugin) and tested by HTTP