This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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: 32819

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]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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!