Table of Contents

Method AddExcludedTraitFilter

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

AddExcludedTraitFilter(string, string)

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

public void AddExcludedTraitFilter(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.