aspose file tools*
The moose likes Testing and the fly likes Emma Coverage 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 "Emma Coverage" Watch "Emma Coverage" New topic
Author

Emma Coverage

saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 57
hi
at present i have to do code coverage by EMMA. i don't haev any idea about this?

can any body tell me how to configure EMMA in myeclipse?

thanking you advancely.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Have a look at http://www.eclemma.org/
saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 57
hi rohde

thank you for you quick response, but i want to use emma code coverage, not ecliemma.

Is any bodey working on emma code coverage?
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

If you don't want to use an eclipse-plugin for emma, you need to write yourself an ant-task to use emma (or using it from console) like it's described at http://emma.sourceforge.net/intro.html
saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 57
hi all,

i want to add Emma to my struts project.

can anybody help me regarding this.

your help is appreciated.
Michael Van
Ranch Hand

Joined: Nov 25, 2003
Posts: 33
Sai,

Good news, contrary to what the above poster stated, you do NOT have to write your own emma tag. Emma comes with a .jar file that you can use with Ant very easily, in fact the docs explain how! Yeah! Basically, you put the emma.jar and emma-ant.jar files in your <ant_home>/lib directory. Then attempt to use the emma tag in ant.

If you have troubles, try taskdef'ing emma.

If you still have problems, feel free to respond. And, dont' try to write your own ant task, that's just a goofy suggestion. I'm half tempted to think the above poster was just pulling your leg a bit.


Mike Van
Apache Software Foundation Committer
saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 57
thanks Michael,

for normal standalone java, it is working fine.

but, in case of struts application where we have to start?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Emma Coverage