Method GetSourceInformation
- Namespace
- Xunit
- Assembly
- xunit.v3.runner.common.dll
GetSourceInformation(string?, string?)
Returns the source information for a test case.
public SourceInformation GetSourceInformation(string? testClassName, string? testMethodName)
Parameters
testClassNamestringThe test class name, if known
testMethodNamestringThe test method name, if known
Returns
The source information, with null string and int values when the information is not available. Note: return value should never be
null, only the interior data values inside.