Class XunitFilters
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
Represents the ability to track query filters or simple filters. Any attempt to add a mix of the two will result in an exception.
public class XunitFilters : ITestCaseFilter
- Inheritance
-
XunitFilters
- Implements
- Inherited Members
Properties
- Empty
Gets a flag indicating whether there are any active filters.
Methods
- AddExcludedClassFilter(string)
Adds a simple filter which excludes a fully qualified class name.
- AddIncludedClassFilter(string)
Adds a simple filter matching a fully qualified class name.
- AddQueryFilter(string)
Adds a query filter.
- Filter(string, ITestCaseMetadata)
Determines whether the given
testCasepasses the filter.
- ToXunit3Arguments()
Gets the command-line arguments to pass to an xUnit.net v3 test assembly to perform the filtering contained within this filter.