This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android 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
author & internet detective

Joined: May 26, 2003
Posts: 32304

Welcome to JavaRanch!

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

[OCA 8 book] [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

Joined: May 26, 2003
Posts: 32304

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:
subject: Web Application Code Coverage
It's not a secret anymore!