Unit test and Code Coverage of Ant build scripts
Posted
by
pablaasmo
on Programmers
See other posts from Programmers
or by pablaasmo
Published on 2012-11-28T08:37:53Z
Indexed on
2012/11/28
11:17 UTC
Read the original article
Hit count: 520
In our development environment We have more and more build scripts for ant to perform the build tasks for several different build jobs.
These build scripts sometimes become large and do a lot of things and basically is source code in and of itself.
So in a "TDD-world" we should have unit tests and coverage reports for the source code.
I found AntUnit and BuildFileTest.java for doing unit tests. But it would also be interesting to know the code coverage of those unit tests.
I have been searching google, but have not found anything. Does anyone know of a code coverage tool for Ant build scripts?
© Programmers or respective owner