Table of Contents

Method GetIncludeSourceInformationOrDefault

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

GetIncludeSourceInformationOrDefault(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 GetIncludeSourceInformationOrDefault(this ITestFrameworkDiscoveryOptions discoveryOptions)

Parameters

discoveryOptions

Returns

bool