Open sandboxFocus

Namespace Metalama.Testing.UnitTesting

Classes

MemoryDumpHelper

TestContext

A context in which a Metalama unit test can run, configured with Metalama services and optionally mocks.

TestContextOptions

Options that configure the behavior of a TestContext.

TestSynchronizationProvider

Test implementation of Metalama.Framework.DesignTime.Rpc.ITestSynchronizationProvider that allows tests to control execution order by blocking at named synchronization points. This enables deterministic testing of concurrent code by letting tests wait for code to reach specific points and then release it.

UnitTestClass

A base class for xUnit tests that need to unit-test compile-time helper classes or query the Metalama code model.