Search code examples
javaeclemma

Code coverage of single test file using eclemma?


i am using eclemma available at http://www.eclemma.org/index.html

When i open test file, Right click --> Coverage As --> Junit Test

It shows the coverage for complete project instead of single test file under coverage view. Is there a way i can have coverage of single test file instead of complete project ?


Solution

  • You can configure the scope for code coverage, and reduce it to make the code coverage analysis run faster.

    See http://www.eclemma.org/userdoc/preferences.html