Class SnapshotMismatchException
- Namespace
- XBullet.EasyTesting.Snapshots
- Assembly
- XBullet.EasyTesting.Snapshots.Core.dll
Thrown when a received snapshot has no approved file or differs from it.
public sealed class SnapshotMismatchException : Exception, ISerializable
- Inheritance
-
SnapshotMismatchException
- Implements
- Inherited Members
Properties
ActualValue
Gets a compact representation of the actual value at the difference.
public string? ActualValue { get; }
Property Value
DiffToolLaunched
Gets whether a diff viewer was started for this mismatch.
public bool DiffToolLaunched { get; }
Property Value
DifferencePath
Gets the JSONPath of the first structural difference, when available.
public string? DifferencePath { get; }
Property Value
ExpectedValue
Gets a compact representation of the expected value at the difference.
public string? ExpectedValue { get; }
Property Value
ReceivedPath
Gets the path containing the newly received snapshot.
public string ReceivedPath { get; }
Property Value
- string
The runtime-qualified received-file path written for review.
VerifiedPath
Gets the path of the expected, committed snapshot.
public string VerifiedPath { get; }
Property Value
- string
The normalized verified-file path involved in the mismatch.