Table of Contents

Interface ISourceInformationProvider

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

Represents a provider which gives source line information for a test case after discovery has completed. This is typically provided by a third party runner (for example, the VSTest plugin provides this via DiaSession from Visual Studio). It's used to supplement test case metadata when the discovery process itself cannot provide source file and line information.

public interface ISourceInformationProvider : IAsyncDisposable
Inherited Members

Methods

GetSourceInformation(string?, string?)

Returns the source information for a test case.