public class ImageFolderCreator extends Object
| Constructor and Description |
|---|
ImageFolderCreator() |
| Modifier and Type | Method and Description |
|---|---|
File |
createImageFolder()
Creates the folder where to save screenshots of failing GUI tests.
|
public File createImageFolder()
Settings.shouldPreserveScreenshots() is false
and the folder already exists, it is deleted and recreated again. If it is true the folder is created
if it not yet exists.RuntimeException - if any error occurs when creating the folder.Copyright © 2014–2019 AssertJ. All rights reserved.