xUnit.net
Public Member Functions | List of all members
Xunit.TraitAttribute Class Reference

Attribute used to decorate a test method with arbitrary name/value pairs ("traits"). More...

Inheritance diagram for Xunit.TraitAttribute:
Xunit.Sdk.ITraitAttribute

Public Member Functions

 TraitAttribute (string name, string value)
 Creates a new instance of the TraitAttribute class. More...
 

Detailed Description

Attribute used to decorate a test method with arbitrary name/value pairs ("traits").

Constructor & Destructor Documentation

◆ TraitAttribute()

Xunit.TraitAttribute.TraitAttribute ( string  name,
string  value 
)
inline

Creates a new instance of the TraitAttribute class.

Parameters
nameThe trait name
valueThe trait value

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