wood burning stoves 2.0*
The moose likes Testing and the fly likes Test coverage tools - any preferences/recommendations out there? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Test coverage tools - any preferences/recommendations out there?" Watch "Test coverage tools - any preferences/recommendations out there?" New topic
Author

Test coverage tools - any preferences/recommendations out there?

Nick Panienski
Greenhorn

Joined: Oct 13, 2007
Posts: 3
Hi there,

I recently tried to figure out what the best test coverage tools are and what is (still) a recommendation from experienced testers.

I am looking for something that integrates into eclipse preferably. Or maybe a nice maven plugin that generates descend reports.

So, what are you guys using for test coverage (cobertura, emma/jacoco, clover) and maybe even code quality (pmd, checkstyle) and how do you use these tools (mvn, eclipse, ant)?

Nick


-- <br />One thing the aliens hadn't counted on was Derek. And Dereks don't run...
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Hello, Nick Panienski. Welcome to JavaRanch.

I am using Cobertura and I run it by ant script.

I wrote a post about it: Covering your tests with Cobertura, JUnit, HSQLDB, JPA.

I have a friend that is Using Cobertura with maven and it is very easy to start using it.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Nick Panienski
Greenhorn

Joined: Oct 13, 2007
Posts: 3
Thanks, I'll check that out!
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

I've had good experiences with emma.


[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
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Jeanne Boyarsky wrote:I've had good experiences with emma.


I also wrote a post with Emma TDD Coverage of tests with JUnit Ant and Emma in case you want to test the Emma also.
Nick Panienski
Greenhorn

Joined: Oct 13, 2007
Posts: 3
Thanks for the replies and links. I am working with EclEmma now and mvn cobertura. Thanks again!
 
jQuery in Action, 2nd edition
 
subject: Test coverage tools - any preferences/recommendations out there?
 
Similar Threads
Tools for coverage of webscripts
Journal Article - Introduction to Code Coverage
Eclipse editor
Testing tools
Lost in Java Jungle