[GRADLE-2307] Configuration of TestNG options causes Stackoverflow when trying to use project / task properties. Created: 16/May/12 Updated: 04/Jan/13 Resolved: 09/Aug/12
|Reporter:||René Gröschke (Inactive)||Assignee:||René Gröschke (Inactive)|
The configuration closure for useTestNG() in the Test task does not allow the usage of project/task properties. The following example results in a stackoverflow because of trying to reference project.buildDir:
A fix for this is to refactor the missingmethod and missingproperty methods of TestNGOptions to throw a MissingProperty* / MissingMethodException instead of delegating to super.