• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Code coverage with HTML Utits

 
Prags Desai
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using HTMLUnit for unit testing my web application.
I wanted to know if there is any way we can get code coverage with it.

Thanks
-Pragati
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pragati,
You could use a tool like Emma to instrument anything that is run on the server. If you start it right before HTMLUnit runs and look at the result right after to get the HTMLUnit part of the results.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic