0

Possible Duplicate:
How to get Cobertura to fail M2 build for low code coverage

I would like to calculate code coverage of my Java code base and fail building process if any package, class, or method has code coverage of 80% or less. Is it possible to achieve with some open source tool? Preferably through a maven2 plugin.

Community
  • 1
  • 1
yegor256
  • 102,010
  • 123
  • 446
  • 597

1 Answers1

0

Have you tried Cobertura cobertura-maven-plugin?

Efthymis
  • 1,326
  • 11
  • 13