Table of Contents

Namespace TUnit.Assertions.Extensions

Classes

MatchesSnapshotRendererExtensions

Renderer-projected entry points for MatchesSnapshot. Two overloads cover the common shapes for projecting an arbitrary source type to a canonical string before snapshot comparison: a polymorphic overload taking a SnapshotRenderer<T> subclass (configurable, stateful renderers) and a delegate-shaped overload taking a Func<T, TResult> (single-use inline projections; also the shape used by sibling family packages that publish renderers as static helper methods without taking a reference on SnapshotAssertions).

MatchesSnapshotShorthandExtensions

Top-level shorthand entry points that wrap the most common MatchesSnapshot()... chains. Each shorthand is equivalent to spelling out the underlying chain: they exist purely to reduce ceremony.

SnapshotAssertionExtensions

Generated extension methods for SnapshotAssertion.