File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes Help with ECLEMMA & JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Help with ECLEMMA & JBOSS" Watch "Help with ECLEMMA & JBOSS" New topic
Author

Help with ECLEMMA & JBOSS

Supriya Kaledhonkar
Greenhorn

Joined: Apr 14, 2008
Posts: 5
I need to test my web application running on Application server JBoss.
I have created test cases for the APIs and I want to do code coverage testing with eclemma tool.
I see 0% coverage for the source folder which is not expected.
Can anyone help?
Should I switch to emma or cobertura?

Any help is greatly appreciated.

Sups
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Sups,
ECLEmma is meant to run against code that runs in Eclipse. If your code is running on JBoss, it is not running on Eclipse. ECLEmma uses Emma under the hood. You could use Emma directly against the JBoss run code.


[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
Supriya Kaledhonkar
Greenhorn

Joined: Apr 14, 2008
Posts: 5
Thanks for your information and I am sorry for creating new thread for same topic.
Supriya Kaledhonkar
Greenhorn

Joined: Apr 14, 2008
Posts: 5
Any other tool like eclemma?
To use emma it involves command line so any other tool compatible with eclipse for web/j2ee applications?

Thanks,
Supriya
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help with ECLEMMA & JBOSS
 
Similar Threads
Eclipse, Eclemma
Mac newbie
Coverage Mode is not visible after installing EclEmma
Help with eclemma with JBOSS
Web Application Code Coverage