Table of Contents

Field IncludeSourceInformation

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

Set to true to include source information during discovery, when possible. (Note that most source information is applied by the runner, not the discoverer, because it utilizes the DiaSession support provided by Visual Studio, which means it's applied after the fact by xunit.runner.visualstudio. This flag, then, is a signal for custom test frameworks that may be able to provide source information via some other mechanism.)

public static readonly string IncludeSourceInformation

Returns

string
Set to true to include source information during discovery, when possible. (Note that most source information is applied by the runner, not the discoverer, because it utilizes the DiaSession support provided by Visual Studio, which means it's applied after the fact by xunit.runner.visualstudio. This flag, then, is a signal for custom test frameworks that may be able to provide source information via some other mechanism.)

Remarks

Value type: bool
Consumed by: v3