Table of Contents

Interface ITestFrameworkDiscoverer

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

Represents an implementation of the discovery part of a test framework. Implementations may optionally implement IDisposable and/or IAsyncDisposable for cleanup operations.

public interface ITestFrameworkDiscoverer

Properties

TestAssembly

Gets the test assembly provided to the discoverer.

Methods

Find(Func<ITestCase, ValueTask<bool>>, ITestFrameworkDiscoveryOptions, Type[]?, CancellationToken?)

Finds tests inside an assembly. Calls the callback for each discovered test.