Hello,

How to do the subject I found this in the archive:
http://gradle.markmail.org/search/?q=working+dir#query:working%20dir+page:1+mid:fqm2wu5qtlxscls6+state:results

So I tried :
task testng(type: Test) {
  dependsOn: deployServices                                      
  useTestNG()
  options {
    dir: projectDir
    println dir
  }
}

This fails on the println line and without it dir is not set:
Property dir could not be found in the options of the TestNG test framework.

            Make sure the correct TestFramework is in use. 
            - Call useJUnit(), useTestNG() or useTestFramework(<your own
TestFramework implementation class>) as first statement in the test { }
block. 

>From thread in the archive URL:
"In 0.8, there's a Test.options.dir property"
Against my expectations, it seems I do not understand how to set this.

Your help is much appreciated!
-- 
View this message in context: 
http://old.nabble.com/Setting-working-dir-for-TestNG-tp28879494p28879494.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to