ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Can ant run non-JUnit tests that can produce Junit xml formatted output?
Date Thu, 12 Aug 2010 04:32:43 GMT
On 2010-08-11, tabber wrote:

> We are evaluating ANT to setup out build process. We have a lot of our tests
> written in c and functional test written in an ih house developed language.
> There tests produce text output which I can parse and generate JUnit like
> XML output.

> How do I make ANT run these tests for each build? Is exec task in ANT the
> best way to do it?

It is one option, another one would be to write your own task that wraps
the exec invocation itself.  Without knowing more about the way you run
the tests there isn't really much opne could answer.

Yes, <exec> would work and if the XML output looks like the one of
<junit> then <junitreport> will work as well.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message