Interface SnapshotDsl.ChooseName

    • Method Detail

      • named

        SnapshotDsl.ChooseActual named​(String snapshotName)
        Choose a name for the snapshot file. This overrides the default naming scheme of using method 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'!