Table of Contents

Method SetIncludeSourceInformation

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

SetIncludeSourceInformation(ITestFrameworkDiscoveryOptions, bool?)

Sets 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.

public static void SetIncludeSourceInformation(this ITestFrameworkDiscoveryOptions discoveryOptions, bool? value)

Parameters

discoveryOptions
value bool?