Property Traits
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
Traits
Gets the trait values associated with this test class (and the test collection, and test
assembly). If there are none, or the framework does not support traits, this returns an
empty dictionary (not null
).
public required IReadOnlyDictionary<string, IReadOnlyCollection<string>> Traits { get; set; }
Property Value
Remarks
Note: Will be an empty dictionary if there was no value provided during deserialization.