brsanthu / proxy-vole

Automatically exported from code.google.com/p/proxy-vole

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add running tests and computing code coverage to Ant-build

GoogleCodeExporter opened this issue · comments

The attached patch for build.xml and the jar-libraries will add targets to the 
ant-build.xml which allows to run tests and compute a nice code coverage report 
using the JaCoCo code coverage tool.

Original issue reported on code.google.com by Dominik....@gmail.com on 28 Jul 2012 at 4:33

Attachments:

Hi,
Thanks for this. I will see if I integrate this.
I personally have the Eclipse EclEmma plugin (that uses Jacoco) and run code 
coverage reports regularly (after every change). As I am the only developer at 
the moment on this project I do not know if it is worth to checkin jacoco and 
all its jars. I want to keep all my projects small and with only minimal 
dependencies.

At the moment I only have to rigth click on the project in Eclipse and "Run 
With Code Coverage". It is as easy as invoking the ant target and it is nicer 
integrated into the Eclipse UI. So I would suggest everybody (who uses Eclipse) 
to use EclEmma.

But any way thanks for the patch.

Have fun,
- Rossi

Original comment by rosstaus...@googlemail.com on 28 Jul 2012 at 7:25

Original comment by rosstaus...@googlemail.com on 28 Jul 2012 at 7:25

  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect
Yep, no problem, I just wanted to get an overview of the current coverage 
before using it in a bigger system.

Original comment by Dominik....@gmail.com on 30 Jul 2012 at 7:58

Original comment by rosstaus...@googlemail.com on 14 Aug 2012 at 2:33

  • Changed state: WontFix