On Tue, Jul 21, 2009 at 4:36 PM, Martin Grotzke <
[email protected]> wrote:
> Hi,
>
> we want to get junit reports from testng tests, so that the junit
> reports can be processed by our build server (hudson).
>
> For this we want to pass additional arguments to testng
> ('-usedefaultlisteners', 'false', '-listeners',
> 'org.testng.reporters.JUnitXMLReporter').
>
> Is this possible using the existing using(options) approach?
http://buildr.apache.org/languages.html
Scroll down to the section that deals with TestNG specifically: you have
:properties and :java_args. I don't think either one will do what you want.
Assaf
>
>
> AFAICS it seems that this is currently not supported - at least one
> would need to get the additional args (e.g. using :args=>...) and add
> them as an array to the cmd_args.
>
> What do you think?
>
> Cheers,
> Martin
>
>