This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Code coverage with HTML Utits  RSS feed

 
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
Sheriff
Posts: 36417
454
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
Boost this thread!