Class SnapshotCall
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
A snapshot call, for Location: who made it and what it asked for.
public sealed record SnapshotCall : IEquatable<SnapshotCall>
- Inheritance
-
SnapshotCall
- Implements
- Inherited Members
Properties
Default
Where the snapshot goes without Location. The folder is the one the call's options set, else Directory, else the test file's folder. The name is the one the options set, else the test file's name and the method, with the variant appended.
public required SnapshotLocation Default { get; init; }
Property Value
Directory
The folder the call's options set, or null when they set none.
public required string? Directory { get; init; }
Property Value
Name
The name the call's options set, or null when they set none.
public required string? Name { get; init; }
Property Value
TestFile
The path of the test file, as the compiler recorded it.
public required string TestFile { get; init; }
Property Value
TestName
The test method's name.
public required string TestName { get; init; }
Property Value
Variant
The variant the call's options set, or null when they set none.
public required string? Variant { get; init; }