N
Nick de Graeve
We're using CruiseControl to build and test our code and to get reports
of CheckStyle and JUnit.
The project consists of a core and multiple plugins, each with their
own sources and tests.<br>
We have a main build.xml that processes the core classes and their
tests. From here we call the plugins' own build.xml to compile and
test.
We'd like Ant to run the tests of the core and all plugins and when all
of them are done, decide whether to fail the build. That way we can
have good reports in CC about our tests.<br>
The 'failureproperty' and 'errorproperty' attributes of the 'junit'
task in combination with the 'fail' task seem the way to go but we
can't get it to work with the plugins.
Is it at all possible to do? And if so, how do we do it?
of CheckStyle and JUnit.
The project consists of a core and multiple plugins, each with their
own sources and tests.<br>
We have a main build.xml that processes the core classes and their
tests. From here we call the plugins' own build.xml to compile and
test.
We'd like Ant to run the tests of the core and all plugins and when all
of them are done, decide whether to fail the build. That way we can
have good reports in CC about our tests.<br>
The 'failureproperty' and 'errorproperty' attributes of the 'junit'
task in combination with the 'fail' task seem the way to go but we
can't get it to work with the plugins.
Is it at all possible to do? And if so, how do we do it?