Method GetTraits
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetTraits(IXunitTestMethod, ITheoryDataRow?)
Merges the traits from the test method (which already reflect the traits from the test assembly, test collection, and test class) with the traits attached to the data row.
public static Dictionary<string, HashSet<string>> GetTraits(IXunitTestMethod testMethod, ITheoryDataRow? dataRow)
Parameters
testMethodThe test method to get traits from.
dataRowThe data row to get traits from.
Returns
- Dictionary<string, HashSet<string>>
The traits dictionary