MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingAspect­Test­Class
Open sandboxFocus

AspectTestClass Class

A base class for test classes built using the current framework. All test methods must be annotated with both [Theory] and CurrentDirectoryAttribute, must have a single parameter accepting the relative path of the test file, and must call RunTestAsync(String, String) as their only implementation.

Inheritance
System.Object
AspectTestClass
Namespace: Metalama.Testing.AspectTesting
Assembly: Metalama.Testing.AspectTesting.dll
Syntax
public abstract class AspectTestClass : Object

Constructors

Name Description
AspectTestClass(ITestOutputHelper)

Methods

Name Description
GetDirectory(String)
RunTestAsync(String, String)

Executes a test.