Table of Contents

Method IncludeSourceInformationOrDefault

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

IncludeSourceInformationOrDefault(ITestFrameworkDiscoveryOptions)

Gets a flag that determines whether discovered test cases should include source information. Note that not all runners have access to source information, so this flag does not guarantee that source information will be provided. If the flag is not present, returns the default value (false).

public static bool IncludeSourceInformationOrDefault(this ITestFrameworkDiscoveryOptions discoveryOptions)

Parameters

discoveryOptions

Returns

bool