Package org.fest.swing.junit.runner
Class ImageFolderCreator
java.lang.Object
org.fest.swing.junit.runner.ImageFolderCreator
Understands creation of the folder where screenshots of failed GUI tests will be saved to.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the folder where to save screenshots of failing GUI tests.
-
Field Details
-
FAILED_GUI_TESTS_FOLDER
- See Also:
-
folderCreator
-
-
Constructor Details
-
ImageFolderCreator
public ImageFolderCreator() -
ImageFolderCreator
ImageFolderCreator(FolderCreator folderCreator)
-
-
Method Details
-
createImageFolder
Creates the folder where to save screenshots of failing GUI tests. The name of the folder to create is 'failed-gui-tests'. If the folder already exists, it is deleted and recreated again.- Returns:
- the created folder.
- Throws:
org.fest.util.FilesException
- if any error occurs when creating the folder.
-