Hi,
is there any way to run a TestNG suite from Gradle using preserve-order='true' or group-by-instances='true' without using suiteXmlFiles or suiteXmlBuilder?
I want to use the test source set for configuring the contents of the TestNG suite, i.e., I do not want to explicitly enumerate all test classes in an XML file or for suiteXmlBuilder. Unfortunately I have to set preserve-order='true' or group-by-instances='true' in order to enforce that tests are run completely before the next test is processed. (Otherwise you might end up with 'execution plans' like (Test1.@BeforeClass, Test2.@BeforeClass, Test1.@Test, Test2.@Test) which causes problems if both @BeforeClass methods try to allocate the same unique resource.)
Any help would b greatly appreciated.
Regards, Toby
1 апр. 2015, в 19:56, Tobias Riemenschneider <tobias.riem...@softwareag.com> написал(а):
--
You received this message because you are subscribed to the Google Groups "gradle-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gradle-dev+...@googlegroups.com.
To post to this group, send email to gradl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gradle-dev/1fb1ac37-db08-48ff-b2ba-3c0b356ae5b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Since the pull request https://github.com/gradle/gradle/pull/439 (including integration tests) is available for quite a while and nothing happened until now, I want to use also this channel for asking if there is something missing for a merge.
--
You received this message because you are subscribed to the Google Groups "gradle-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gradle-dev+...@googlegroups.com.
To post to this group, send email to gradl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gradle-dev/5421847b-2c35-4bdd-ab97-b186a1efab67%40googlegroups.com.