Table of Contents

Class XunitTestFrameworkExecutor

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

The implementation of ITestFrameworkExecutor that supports execution of unit tests linked against xunit.v3.core.dll.

public class XunitTestFrameworkExecutor : TestFrameworkExecutor<IXunitTestCase>, ITestFrameworkExecutor, IAsyncDisposable
Inheritance
XunitTestFrameworkExecutor
Implements
Inherited Members
TestFrameworkExecutor<IXunitTestCase>.DisposalTracker
TestFrameworkExecutor<IXunitTestCase>.DisposeAsync()

Remarks

Initializes a new instance of the XunitTestFrameworkExecutor class.

Constructors

XunitTestFrameworkExecutor(IXunitTestAssembly)

The implementation of ITestFrameworkExecutor that supports execution of unit tests linked against xunit.v3.core.dll.

Properties

TestAssembly

Gets the test assembly that contains the test.

Methods

CreateDiscoverer()

Override to create a test framework discoverer that can be used to discover tests when the user asks to run all test.

RunTestCases(IReadOnlyCollection<IXunitTestCase>, IMessageSink, ITestFrameworkExecutionOptions, CancellationToken)

Runs selected test cases in the assembly.