create File
abstract fun createFile(name: String? = null, delete: DeletionMode = IfSuccessful): Path
Content copied to clipboard
Creates a test file in the directory of the current test scope.
Return
The absolute Path to the created file.
Parameters
name
The name of the file. If omitted or null
, the name will be generated.
delete
When to delete the created file, see DeletionMode.
Sources
(source)
Link copied to clipboard