Interface SnapshotDsl.ChooseDirectory

  • All Known Subinterfaces:
    SnapshotDsl.Snapshot
    Enclosing interface:
    SnapshotDsl

    @API(status=EXPERIMENTAL,
         since="1.2.0")
    public static interface SnapshotDsl.ChooseDirectory
    • Method Detail

      • in

        @API(status=EXPERIMENTAL,
             since="1.2.0")
        SnapshotDsl.ChooseName in​(Path directory)
        Allows to choose the directory into which the snapshot will be persisted. The path configured here takes precedence over what is configured in EnableSnapshotTests.snapshotDirectory()

        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