Namespace SnapshotAssertions.TUnit
Classes
- RenderedSnapshotAssertion<T>
Renderer-projected TUnit assertion that verifies a value of type
T, after canonical-string rendering via a SnapshotRenderer<T>, matches a baseline snapshot stored on disk. Used by theMatchesSnapshot<T>(IAssertionSource<T>, SnapshotRenderer<T>)andMatchesSnapshot<T>(IAssertionSource<T>, Func<T, string>)overloads. Shares the underlying scrubber / path / evaluator pipeline with SnapshotAssertion via SnapshotAssertions.TUnit.SnapshotAssertionImpl.
- SnapshotAssertion
TUnit assertion that verifies an actual string matches a baseline snapshot stored on disk. The default file resolution uses the current TUnit test context's class and method names; chain methods (WithName(string), AtPath(string), WithOptions(SnapshotOptions)) override the defaults.