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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31074
    
232

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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31074
    
232

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Application Code Coverage