Namespace Mokkit.Inspect
Classes
- EnsureInspectExtensions
-
Ensurehelpers for the Inspect phase. Because the source is already materialized during Inspect, these guard the value and capture it eagerly (synchronously) so later chained steps can consume the captured value directly. They apply to value scopes too, since Mokkit.Inspect.ITestInspectScope`1 derives from Mokkit.Inspect.ITestInspect. - Inspect
-
Provides static factory methods for starting inspect operations in the AAA (Arrange-Act-Assert) pattern. This class serves as the entry point for creating inspect chains that perform assertions and verifications.
- InspectFnExtensions
-
Provides extension methods for inspect function delegates to enable fluent chaining of inspect operations. These extensions allow direct chaining of inspect functions without explicitly creating Mokkit.Inspect.ITestInspect instances.
Interfaces
- ITestInspect
-
Represents the fluent interface for chaining inspect operations in the AAA (Arrange-Act-Assert) pattern. This interface allows for sequential execution of assertions and verifications through method chaining.
- ITestInspectAwaiter
-
Provides an awaiter for inspect operations, enabling async/await support for inspect chains. This interface implements the awaiter pattern to allow direct awaiting of Mokkit.Inspect.ITestInspect instances.
- ITestInspectScope<T>
-
Represents a value-scoped inspect interface that operates on a specific value of type
T. This interface extends Mokkit.Inspect.ITestInspect to provide value-specific inspection operations within a scoped context. - ITestInspectScopeWithContext<T, TContext>
-
Represents a value-scoped inspect interface that operates on a specific value of type
Twith additional context of typeTContext. This interface extends Mokkit.Inspect.ITestInspect to provide value-specific inspection operations with contextual information within a scoped context.
Delegates
- InspectAsyncFn
-
Represents an asynchronous inspect function that performs assertions and verifications. This delegate is used in the Assert phase of the AAA (Arrange-Act-Assert) pattern.
- InspectFn
-
Represents a synchronous inspect function that performs assertions and verifications. This delegate is used in the Assert phase of the AAA (Arrange-Act-Assert) pattern.
- InspectScopeAsyncFn
-
Represents an asynchronous inspect function that operates within a scope and can execute inner functions. This delegate allows for complex inspection scenarios with nested operations.
- InspectValueAsyncFn<T>
-
Represents an asynchronous inspect function that operates on a specific value. This delegate is used for value-based assertions in the Assert phase.
- InspectValueFn<T>
-
Represents a synchronous inspect function that operates on a specific value. This delegate is used for value-based assertions in the Assert phase.
- InspectValueWithContextAsyncFn<T, TContext>
-
Represents an asynchronous inspect function that operates on a specific value with additional context. This delegate is used for value-based assertions that require contextual information.
- InspectValueWithContextFn<T, TContext>
-
Represents a synchronous inspect function that operates on a specific value with additional context. This delegate is used for value-based assertions that require contextual information.