On Wed, Jul 22, 2009 at 8:59 AM, Martin Grotzke <
[email protected]> wrote:

> 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'])
> ?


+1

Assaf


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

Reply via email to