Open sandboxFocus

Class AspectTestFramework

The xunit test framework that turns every file of a test project into a test. It is registered in the test project by the Xunit.TestFrameworkAttribute that the build of Metalama.Testing.AspectTesting adds.

Inheritance
TestFramework
AspectTestFramework
Implements
ITestFramework
Namespace: Metalama.Testing.AspectTesting
Assembly: Metalama.Testing.AspectTesting.dll
Syntax
[ExcludeFromCodeCoverage]
public sealed class AspectTestFramework : TestFramework, ITestFramework, IAsyncDisposable

Constructors

Name Description
AspectTestFramework()

Initializes a new instance of the AspectTestFramework class. This constructor is called by xunit.

Properties

Name Description
TestFrameworkDisplayName

Returns the display name of the test framework that this discoverer is running tests for.

Methods

Name Description
CreateDiscoverer(Assembly)

Override this method to provide the implementation of Xunit.v3.ITestFrameworkDiscoverer.

CreateExecutor(Assembly)

Override this method to provide the implementation of Xunit.v3.ITestFrameworkExecutor.

Extension Methods