I've asked Adam about this and you have to have multiple test tasks
currently :(
test(dependsOn: :test2) {
useJUnit();
}
task test2(type: Test) {
useTestNG();
}
Or similar
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp
Software Engineer
Open Source Advocate
PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
On Sat, Oct 2, 2010 at 11:34, Russel Winder <[email protected]> wrote:
> There seems to be an assumption that all the tests in a project are
> either JUnit or TestNG. Is there a way of dealing with a project where
> some test classes use JUnit and some TestNG?
>
> --
> Russel.
> =============================================================================
> Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
> 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
> London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email