Table of Contents

Constructor TraitAttribute

Namespace
Xunit
Assembly
xunit.v3.core.dll

TraitAttribute(string, string)

Attribute used to decorate a test method, test class, or assembly with an arbitrary name/value pair ("trait").

public TraitAttribute(string name, string value)

Parameters

name string

The trait name

value string

The trait value