Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

test case coverage tool for eclipse !!

 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Is there any tool thats currently avilabel for eclipse which can give me the report, which are the classes for which the corresponding test classes are written and what are all the methodes for which the test cases are written
Any white paper, any link will be appriciated
Thanks
Samir
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34680
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like Emma. It's available as for Ant or as an Eclipse plugin.
 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,
Thanks for the prompt reply . when I try to google for the same , I came across this plugin ...however this just gives me the report indicating which part of my code gets called during the exicution. rt???
My requirement is somewhat different . I want to know , for which classes the corresponding test classes are written and further drilling down ,which are those methodes in the class for which there are no corresponding test cases written ,
Does Emma gives such sort of information . Please reply
Thanks in advance
Samir
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34680
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samir,
Yes, the report indicates which classes/methods/blocks/lines get executed during the run of your tests. If you run it in Eclipse, it shows you the lines in the IDE itself when you open the Java class.

I don't follow your requirement. If a method isn't tested, it has 0% coverage. If a class isn't tested, it has 0% coverage.
 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,
I configure Emma on my machine and it serves the purpose of test coverage. Thanks a lot for your kind help.
Regards,
Samir
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic