createRandomFile
Creates a random file, which is automatically deleted at the end of the test.
Example
val logs by createRandomFile()
test("A test") {
logs().writeText("…")
}
Content copied to clipboard
Creates a random file, which is automatically deleted at the end of the test.
val logs by createRandomFile()
test("A test") {
logs().writeText("…")
}