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.
Namespace: Metalama.Testing.UnitTesting
Assembly: Metalama.Testing.UnitTesting.dll
Syntax
public abstract class UnitTestClass
Constructors
Name | Description |
---|---|
UnitTestClass(ITestOutputHelper?, bool) | Initializes a new instance of the UnitTestClass class. |
Properties
Name | Description |
---|---|
TestOutput | Gets an object allowing to write to the test output. |