1

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 ?

user3198603
  • 5,528
  • 13
  • 65
  • 125
  • You can drill down into the report and get the coverage for the file you want. Is that not satisfying ? – benzonico May 24 '14 at 15:01

1 Answers1

0

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

ewernli
  • 38,045
  • 5
  • 92
  • 123
  • i could not find a wayto set the preference where i could set the coverage for only current test file and source file for which test file is written. Also once i run the coverage all files gets colour coded. Could n't find the way where i can get rid of those colours once i am done ? – user3198603 May 25 '14 at 05:56
  • @user3198603 Well, you typically don't select on a file basis, but on a project basis, see "coverage tab" in http://www.eclemma.org/userdoc/launching.html. To get rid of the colours, see "Remove all sessions" in http://www.eclemma.org/userdoc/coverageview.html (The icon with two X) – ewernli May 25 '14 at 09:09