Class FlowSnapshotComparer
- Namespace
- Kuestenlogik.Bowire.Flows.Expectations
- Assembly
- Kuestenlogik.Bowire.Flows.dll
Pure-function snapshot comparison. Lives beside FlowExpectationEvaluator so the CLI runner and the workbench's approve-snapshot surface share one diff implementation.
public static class FlowSnapshotComparer
- Inheritance
-
FlowSnapshotComparer
- Inherited Members
Methods
Compare(string?, string?, FlowSnapshotMode, IReadOnlyCollection<string>?)
Diff actual against baseline.
Returns an empty list when the snapshot holds; otherwise
human-readable per-path diff lines (capped at 10, with a rollup
line when more were found).
public static IReadOnlyList<string> Compare(string? baseline, string? actual, FlowSnapshotMode mode, IReadOnlyCollection<string>? ignorePaths = null)
Parameters
baselinestringactualstringmodeFlowSnapshotModeignorePathsIReadOnlyCollection<string>