TestCondition.Enabled Property
Gets or sets a value that indicates whether the test condition is enabled.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
public bool Enabled { get; set; }
public:
property bool Enabled {
bool get();
void set(bool value);
}
member Enabled : bool with get, set
Public Property Enabled As Boolean
Property Value
Type: System.Boolean
Remarks
The default value is true. All test conditions are enabled by default when they are added to a SqlDatabaseTestAction. If the condition is enabled, it will be used to evaluate the success of the SqlDatabaseTestAction. Set this property to false to prevent this test condition from being evaluated during test execution.
See Also
TestCondition Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions Namespace
Return to top