createDirectory

abstract fun createDirectory(name: String? = null, delete: DeletionMode = IfSuccessful): Path

Creates a test directory in the directory of the current test scope.

Return

The absolute Path to the created directory.

Parameters

name

The name of the directory. If omitted or null, the name will be generated.

delete

When to delete the created directory, see DeletionMode.

Sources

(source)
Link copied to clipboard