markewiseman / proxy-vole

Automatically exported from code.google.com/p/proxy-vole
0 stars 0 forks source link

Add running tests and computing code coverage to Ant-build #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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