Details
-
Type:
Bug
-
Status:
Resolved
-
Resolution: Fixed
-
Affects Version/s: 1.0-rc-3
-
Fix Version/s: 1.2-rc-1
Description
I'm running my TestNG tests off of Gradle and I've been trying to use the xml suite properties to use my xml with Gradle. However every time I try to run the suite API Gradle fails and gives me a stacktrace saying Method Missing
test{
useTestNG()
//other properties
options {
suites(file('headless.xml'))
}
}
The stack cause:
Caused by: java.lang.StackOverflowError
at org.gradle.api.tasks.testing.testng.TestNGOptions.methodMissing(TestNGOptions.groovy:204)
Issue Links
- Duplicates
-
GRADLE-2307
Configuration of TestNG options causes Stackoverflow when trying to use project / task properties.
-