xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.ITraitDiscoverer Interface Reference

This interface is implemented by discoverers that provide trait values to xUnit.net v2 tests. More...

Inheritance diagram for Xunit.Sdk.ITraitDiscoverer:
Xunit.Sdk.AssemblyTraitDiscoverer Xunit.Sdk.TraitDiscoverer

Public Member Functions

IEnumerable< KeyValuePair< string, string > > GetTraits (IAttributeInfo traitAttribute)
 Gets the trait values from the trait attribute. More...
 

Detailed Description

This interface is implemented by discoverers that provide trait values to xUnit.net v2 tests.

Member Function Documentation

◆ GetTraits()

IEnumerable<KeyValuePair<string, string> > Xunit.Sdk.ITraitDiscoverer.GetTraits ( IAttributeInfo  traitAttribute)

Gets the trait values from the trait attribute.

Parameters
traitAttributeThe trait attribute containing the trait values.
Returns
The trait values.

Implemented in Xunit.Sdk.AssemblyTraitDiscoverer, and Xunit.Sdk.TraitDiscoverer.


The documentation for this interface was generated from the following file: