[GRADLE-3020] Using TestNGOptions.suites may yield GradleScriptException Created: 12/Feb/14 Updated: 17/Feb/14 Resolved: 17/Feb/14 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.11 |
Fix Version/s: | 1.12-rc-1 |
Type: | Bug | ||
Reporter: | Szczepan Faber | Assignee: | Szczepan Faber |
Resolution: | Fixed | Votes: | 0 |
Known Issue Of: |
Description |
Using TestNGOptions.suites(String) method yields GradleScriptException at configuration time. This started happening with Gradle 1.11. Full stack trace: https://gist.github.com/szczepiq/3beb037bb4f740ef99ca test { useTestNG() //fails: options.suites("some-suite.xml") //workaround: options.suites(file("some-suite.xml")) } I think we're missing coverage on various TestNG options and it's high time to improve it. |
Comments |
Comment by Raju [ 14/Feb/14 ] |
We just ran into the same issue. Passing in a File pointer works. Thanks! |