File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Help with ECLEMMA & JBOSS" Watch "Help with ECLEMMA & JBOSS" New topic


Supriya Kaledhonkar

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.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32304

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.

[OCA 8 book] [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

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

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?

I agree. Here's the link:
subject: Help with ECLEMMA & JBOSS
It's not a secret anymore!