This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 30352
    
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help with ECLEMMA & JBOSS