Again, sorry if there is the detection of some slight frustration. But I come across this kind of problem again and again. and the answer is, I probably just don't get it.
For the Test property workingDir, I can't help but thinking in terms of Java. Either it is a static member of the class Test, or it is a non-static member. I think that it is non-static, so, there is no doubt why my attempt at writing : Test.workingDir= new File(.. blah) didn't work. Ok, so if it is a non-static member, just like the Gradle class has a 'startParameter' member which I can use like this: def firstTask = getGradle().startParameter.getTaskNames().get(0) I would expect to be able to do this with the Test class. But first I need a handle to the instance used in the test run. And I can't find any reference to where to get this from the dsl documentation. So, given that many minutes of google searching or hunting through the javadoc doesn't turn anything up, either i'm just bad at reading documentation, or, i'm just thinking the wrong way, Am I thinking too java'ish? Or am I just stupid.
