Open sandboxFocus

Namespace Metalama.Testing.UnitTesting

Classes

MemoryDumpHelper

ReportedTelemetryException

An exception reported through the test telemetry capture path, with the routing the reporter chose.

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.

Enums

TelemetryRouting

How an exception was routed to telemetry, as recorded by Metalama.Testing.UnitTesting.TestTelemetryService: through a repository context (a project directory was known), through the tooling policy (no project context), or disabled (no directory).