laura
laura

Reputation: 165

coverage java tool

I'm wrintting java tests to control the GUI application, and I'm searching a tool to cover the java test , what is your recommandation ? which tool is usually used to cover java tests ?

Upvotes: 3

Views: 322

Answers (4)

Lukasz
Lukasz

Reputation: 7662

I strongly recommend taking a look at Code Pro tools. It's for Eclipse. And it contains a lot more than code coverage, it is code analyzer, junit test generator, dependency analyzer and so on...

Upvotes: 0

tonio
tonio

Reputation: 10541

You can try to use Cobertura, it creates nice reports, and is easy to use in conjunction with junit, using ant or maven.

A great tool for reporting is Sonar, which integrates coverage tests, but also tools like checkstyle, findbugs, and provides a nice interface to analyse the outputs. It is also very easy to setup, definitively worth trying.

Upvotes: 2

mindas
mindas

Reputation: 26703

I recommend Sonar, see the hyperlink for how it shows code coverage (apart from doing many other handy things).

Upvotes: 1

dogbane
dogbane

Reputation: 274522

I recommend Cobertura for measuring test coverage. You can plug it into ant, maven, hudson, eclipse etc.

Upvotes: 6

Related Questions