createRandomDirectory
Creates a random directory, which is automatically deleted at the end of the test.
Example
val buildDirectory by createRandomDirectory()
test("A test") {
buildDirectory() // do something with it
}
Content copied to clipboard