Table of Contents

Method AddIncludedTraitFilter

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

AddIncludedTraitFilter(string, string)

Adds a simple filter which matches tests with the given name/value pair.

public void AddIncludedTraitFilter(string name, string value)

Parameters

name string

The name of the trait

value string

The value of the trait

Remarks

The name and/or value may begin and/or end with * to add as a wildcard. No other wildcards are permitted in any other locations.