2

Are there some tools or Eclipse plugin that could detect that a method hasn't been subject to a unit test (JUnit/TestNg)?

Thx in advance.

2 Answers 2

4

EclEmma is an Eclipse plugin that does just that.

Sign up to request clarification or add additional context in comments.

2 Comments

perfect! (+1). This is the tool I was dreaming about.
Thanks a lot! I've never used EclEmma so far and I thought it yields code coverage info only at code line level...
0

IntelliJ gives you code coverage - no plugins required. It reports % of lines covered by your tests and highlights which ones are executed and which ones have not.

Time to upgrade your IDE.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.