0

Here is my scenario.

  1. I have a code base, which is built and deployed as EAR on jBoss server.

  2. I have a separate testing framework.

  3. Now I want to run the classes of that EAR using my testing framework.
  4. The test cases are written in TestNG.
  5. Also I want to know the code coverage of the EAR.
  6. I have used eclEmma to do code coverage for Junits, it was simple as the code and tests are at same place. How can I use Emma in the case of remote code base. Please help.
Atul Kumar Verma
  • 369
  • 3
  • 8
  • 23

1 Answers1

0

EclEmma is Eclipse plugin based on JaCoCo - Java Code Coverage Library. JaCoCo provides various ways for collection of code coverage. In particular you can attach it to the server as a Java agent and request information about coverage remotely. And even import and show it in Eclipse using EclEmma.

Godin
  • 9,801
  • 2
  • 39
  • 76