Method WithTestDisplayName
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
WithTestDisplayName<TTheoryDataRow>(TTheoryDataRow, string?)
Sets the test display name on a theory data row.
public static TTheoryDataRow WithTestDisplayName<TTheoryDataRow>(this TTheoryDataRow theoryDataRow, string? testDisplayName) where TTheoryDataRow : TheoryDataRowBase
Parameters
theoryDataRowTTheoryDataRowThe theory data row
testDisplayNamestringThe value to use for the test display name; pass
nullto use the default display name
Returns
- TTheoryDataRow
Type Parameters
TTheoryDataRow