• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Emma Coverage

 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at http://www.eclemma.org/
 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
saidi Bandi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Michael,

for normal standalone java, it is working fine.

but, in case of struts application where we have to start?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic