Package de.skuzzle.test.snapshots
Interface SnapshotDsl.ChooseDirectory
-
- All Known Subinterfaces:
Snapshot,SnapshotDsl.Snapshot
- Enclosing interface:
- SnapshotDsl
@API(status=EXPERIMENTAL, since="1.2.0") public static interface SnapshotDsl.ChooseDirectory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotDsl.ChooseNamein(java.nio.file.Path directory)Allows to choose the directory into which the snapshot will be persisted.
-
-
-
Method Detail
-
in
@API(status=EXPERIMENTAL, since="1.2.0") SnapshotDsl.ChooseName in(java.nio.file.Path directory)Allows to choose the directory into which the snapshot will be persisted. The path configured here takes precedence over what is configured viaSnapshotDirectory.The path configured here will not be resolved against the
src/test/resourcesdirectory. If you provide a relative path, it will be considered to be relative to the project's root directory.Warning: Changing the directory has severe impact on orphan detection and might lead to false positives. Use with caution as long as this API is marked 'EXPERIMENTAL'.
- Parameters:
directory- The directory into which to write the snapshot.- Returns:
- Fluent API object for choosing the snapshot format. Do NOT assume it is the same object as 'this'!
- Since:
- 1.2.0
-
-