Package de.skuzzle.test.snapshots
Interface SnapshotDsl.ChooseName
-
- All Known Subinterfaces:
SnapshotDsl.Snapshot
- Enclosing interface:
- SnapshotDsl
@API(status=STABLE) public static interface SnapshotDsl.ChooseName
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotDsl.ChooseActualnamed(String snapshotName)Choose a name for the snapshot file.
-
-
-
Method Detail
-
named
SnapshotDsl.ChooseActual named(String snapshotName)
Choose a name for the snapshot file. This overrides the default naming scheme of usingmethod name + consecutive number. Note that, when you specify the same name twice within test cases for the same snapshot directory, snapshots will be silently overridden and tests may subsequently fail.- Parameters:
snapshotName- The name of the snapshot to create.- Returns:
- Fluent API object for choosing the snapshot format. Do NOT assume it is the same object as 'this'!
-
-