class TempFolder : LifecycleListener
val tmpDir: File |
|
val tmpPath: Path |
fun afterExecuteAction(action: ActionScope): Unit |
|
fun afterExecuteGroup(group: GroupScope): Unit |
|
fun afterExecuteTest(test: TestScope): Unit |
|
fun beforeExecuteAction(action: ActionScope): Unit |
|
fun beforeExecuteGroup(group: GroupScope): Unit |
|
fun beforeExecuteTest(test: TestScope): Unit |
|
fun newFile(name: String): File |
|
fun newFolder(name: String): File |
fun perAction(): TempFolder
Sets up the tmpDir before each action and cleans it up after each action. |
|
fun perGroup(): TempFolder
Sets up the tmpDir before each group and cleans it up after each group. |
|
fun perTest(): TempFolder
Sets up the tmpDir before each test and cleans it up after each test. |