Method GetCollectionTraits
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetCollectionTraits(Type?, IReadOnlyDictionary<string, IReadOnlyCollection<string>>?)
Gets the traits that are attached to the test collection via ITraitAttributes.
public static IReadOnlyDictionary<string, IReadOnlyCollection<string>> GetCollectionTraits(Type? testCollectionDefinition, IReadOnlyDictionary<string, IReadOnlyCollection<string>>? testAssemblyTraits)
Parameters
testCollectionDefinition
TypeThe test collection
testAssemblyTraits
IReadOnlyDictionary<string, IReadOnlyCollection<string>>The traits inherited from the test assembly