wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Web Application Code Coverage" Watch "Web Application Code Coverage" New topic

Web Application Code Coverage

srimaan yerram

Joined: May 08, 2008
Posts: 1

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...

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30138

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

Joined: May 26, 2003
Posts: 30138

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

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
Similar Threads
DBUnit, why insert test data, only to delete/re-create tables after?
ProjectMetrics | Urgent
Any good opensource code coverage tools?
tips for procedural cobol programmer to do java testing