Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes test case coverage tool for eclipse  !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "test case coverage tool for eclipse  !!" Watch "test case coverage tool for eclipse  !!" New topic
Author

test case coverage tool for eclipse !!

samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

I like Emma. It's available as for Ant or as an Eclipse plugin.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

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

Joined: Jul 27, 2005
Posts: 192
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
 
jQuery in Action, 2nd edition
 
subject: test case coverage tool for eclipse !!