Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any handy code coverage tool to be used with JUnit?

Tags:

Is there handy code coverage tool to be used with JUnit?

like image 205
user496949 Avatar asked Mar 11 '11 06:03

user496949


2 Answers

I would imagine most code coverage tools can be used pretty easily with JUnit. Previously I've used EMMA, which is good. If you're an Eclipse user, there's an Eclipse plugin called EclEmma to integrate things.

like image 57
Jon Skeet Avatar answered Nov 04 '22 23:11

Jon Skeet


Here are my preferences in that order:

  1. EclEmma
  2. Clover

And here is a bunch of open source tools and with comparison.

Hope that helps.

like image 34
3 revs, 2 users 96% Avatar answered Nov 05 '22 00:11

3 revs, 2 users 96%