This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective

Joined: May 26, 2003
Posts: 30057

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

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?

subject: Help with ECLEMMA & JBOSS
Similar Threads
Mac newbie
Coverage Mode is not visible after installing EclEmma
Help with eclemma with JBOSS
Web Application Code Coverage
Eclipse, Eclemma