• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Application Code Coverage

 
srimaan yerram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Srimaan,
Welcome to JavaRanch!

We have a forum specifically for testing questions. I'll move this for you.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic