Interface IFrontController
- Namespace
- Xunit
- Assembly
- xunit.v3.runner.common.dll
Represents a class which acts as a front controller for unit testing frameworks. This allows runners to run tests from multiple unit testing frameworks (in particular, hiding the differences between xUnit.net v1, v2, and v3 tests).
public interface IFrontController : IFrontControllerDiscoverer, IAsyncDisposable
- Inherited Members
Methods
- FindAndRun(IMessageSink, FrontControllerFindAndRunSettings)
Starts the process of finding and running tests in an assembly. Typically only used by runner which do not present test discovery UIs to users that allow them to run selected tests (those should instead use Find(IMessageSink, FrontControllerFindSettings) and Run(IMessageSink, FrontControllerRunSettings) as separate operations).
- Run(IMessageSink, FrontControllerRunSettings)
Starts the process of running selected tests in the assembly. The serialized test cases to run come from calling Find(IMessageSink, FrontControllerFindSettings).