Summary
Adds a trait to the settings, to exclude in test execution.
- Namespace
- Cake
.Common .Tools .XUnit - Containing Type
- X
Unit2 Settings Extensions
Syntax
public static XUnit2Settings ExcludeTrait(this XUnit2Settings settings, string name, params string[] values)
Parameters
Name | Type | Description |
---|---|---|
settings | XUnit2Settings | The settings. |
name | string | The trait name. |
values | string[] | The trait values. |
Return Value
Type | Description |
---|---|
XUnit2Settings | The same XUnit2Settings instance so that multiple calls can be chained. |