Hi all,

I've read that you can set the working directory for the test running from a
gradle java build.

I can't find any documentation on it, just found it mentioned here:

http://gradle.1045684.n5.nabble.com/changing-working-directory-for-junit-tests-td1431846.html

by Adam Murdoch,

I would very much appreciate it if someone can tell me:

1. Where this is documented
2. An short example of how to do it,

for example, if want to pass a property into the build, by calling it from
the command line with the option -PmyWorkingDir=/mnt/data/workingdir

i'd like to see an example that I can use in my gradle script, where it does
something like this:

Test {
workingDir = "${myWorkingDir}"
}


thanks in advance for any help,

sean

Reply via email to