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

Web Application Code Coverage

srimaan yerram
Greenhorn

Joined: May 08, 2008
Posts: 1
Hi

I am new bee in web application development, I have set of test suites(junit) and i use junitee framework to execute those test suites/cases now i need to validate how much of test coverage or code is being exercised. can any one help me out finding the best code coverage tool and how to do the code coverage...

-Srimaan
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

Srimaan,
Welcome to JavaRanch!

We have a forum specifically for testing questions. I'll move this for you.


[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
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

I like emma for code coverage. It instruments the code beforehand so you can then run the app (or junitee tests) and then view the report.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Same with clover

When you compile your code, it compiles 'reporting code' into your application, and while your code runs it writes information to a common location. The docs for both will describe how to include coverage for web applications.
 
 
subject: Web Application Code Coverage
 
Similar Threads
Any good opensource code coverage tools?
tips for procedural cobol programmer to do java testing
Help with ECLEMMA & JBOSS
DBUnit, why insert test data, only to delete/re-create tables after?
ProjectMetrics | Urgent