On Wed, 2009-07-22 at 01:55 -0700, Assaf Arkin wrote:
> 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.
Correct, I already tried both, without luck.

So I would have to add support for an additional :args property to the
test options, so that one could set e.g.
  test.using(:args=>['arg1', 'arg2'])
?

Cheers,
Martin


> 
> 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
> >
> >

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to