Interface ITraitDiscoverer
This interface is implemented by discoverers that provide trait values to xUnit.net v2 tests.
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public interface ITraitDiscoverer
Methods
| Improve this Doc View SourceGetTraits(IAttributeInfo)
Gets the trait values from the trait attribute.
Declaration
IEnumerable<KeyValuePair<string, string>> GetTraits(IAttributeInfo traitAttribute)
Parameters
Type | Name | Description |
---|---|---|
IAttributeInfo | traitAttribute | The trait attribute containing the trait values. |
Returns
Type | Description |
---|---|
IEnumerable<KeyValuePair<String, String>> | The trait values. |