Test Files
interface TestFiles
Content copied to clipboard
Helper that creates test files and directories for use in tests. The helper manages a directory structure that reflects the structure of the tests. Created files and directories will reside in the part of the directory structure that corresponds to the current test scope. The helper also manages when to delete the created files.
See also
Functions
createDirectory
Link copied to clipboard
abstract fun createDirectory(name: String? = null, delete: DeletionMode = IfSuccessful): Path
Content copied to clipboard
createFile
Link copied to clipboard
abstract fun createFile(name: String? = null, delete: DeletionMode = IfSuccessful): Path
Content copied to clipboard
Inheritors
DefaultTestFiles
Link copied to clipboard
Sources
(source)
Link copied to clipboard