I am using Hudson for continuos integration. The project is built using Maven.
I use "mvn emma:emma clean install " to instrument+ test + report.
My project tests are run in two phases.
Phase 1- Unit tests that run on a compiled code. For this I get emma reports fine.
Phase 2- Functional tests that run against a deployed code. I deploy the code built by maven with "emma:emma". I am assuming that the classes are already instrumented. When I run the functional tests against this deployed code I am not seeing coverage reports generated or added (I tried killing the App/service that runs on tomcat - thinking that an jvm exit will force emma to collect the coverage).
I need to understand how to config emma to dump the coverage files when the functional tests are run?
Please explain, appreciate your reply on this.