CIConditionAttribute(ConditionMode) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the CIConditionAttribute class.
public CIConditionAttribute(Microsoft.VisualStudio.TestTools.UnitTesting.ConditionMode mode);
new Microsoft.VisualStudio.TestTools.UnitTesting.CIConditionAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.ConditionMode -> Microsoft.VisualStudio.TestTools.UnitTesting.CIConditionAttribute
Public Sub New (mode As ConditionMode)
Parameters
- mode
- ConditionMode
Decides whether the test should be included or excluded in CI environments.