Method WithSourceInfo
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.runner.common.dll
WithSourceInfo(ITestCaseDiscovered, string?, int?)
Creates a new ITestCaseDiscovered, replacing the source file and line number information with the provided values.
public static ITestCaseDiscovered WithSourceInfo(this ITestCaseDiscovered discovered, string? sourceFilePath, int? sourceLineNumber)