| [GRADLE-2326] Using suites with TestNGOptions causes Stacktrace Created: 24/May/12 Updated: 04/Jan/13 Resolved: 19/Aug/12 | |
| Status: | Resolved | 
| Project: | Gradle | 
| Affects Version/s: | 1.0-rc-3 | 
| Fix Version/s: | 1.2-rc-1 | 
| Type: | Bug | ||
| Reporter: | Greg | Assignee: | Unassigned | 
| Resolution: | Fixed | Votes: | 0 | 
| Attachments: |  GradleMethodMissing.txt | ||||||||
| Issue Links: | 
 | ||||||||
| 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{ } The stack cause: Caused by: java.lang.StackOverflowError | 
| Comments | 
| Comment by Greg [ 24/May/12 ] | 
| Mark invalid: I moved the suite API outside of the brackets and did options.suites(file('<my suite>')) and its working |