aspose file tools*
The moose likes Testing and the fly likes Code coverage with HTML Utits Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Code coverage with HTML Utits" Watch "Code coverage with HTML Utits" New topic
Author

Code coverage with HTML Utits

Prags Desai
Greenhorn

Joined: May 04, 2004
Posts: 5
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

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.


[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code coverage with HTML Utits
 
Similar Threads
Code Coverage Tool
Emma Code coverage tool
Emma Coverage
Code coverage tools and AIX
Automated Regression Testing suite