A base class for all Metalama unit tests that require Metalama services. Exposes a CreateTestContext(IAdditionalServiceCollection, string?, string?) that creates a context with all services. The next step is typically to call one of the methods or properties of the returned TestContext.
Implements
Namespace: Metalama.Testing.UnitTesting
Assembly: Metalama.Testing.UnitTesting.dll
Syntax
public abstract class UnitTestClass : IDisposableConstructors
| Name | Description |
|---|---|
| UnitTestClass(ITestOutputHelper?, bool) |
Properties
| Name | Description |
|---|---|
| TestOutput | Gets an object allowing to write to the test output. |