Class used in unit tests to mark tests as skipped by using Assert.Inconclusive() method.
More...
|
static void | Indefinitely (string ticket=null) |
| Skip the specified test.
|
|
static void | Until (DateTime skipExpiry, string targetRelease=null, string ticket=null) |
| Skip the specified test until the specified date, after which this test should be treated as failing rather than skipped.
|
|
|
static readonly bool | FAIL_ON_EXPIRED_SKIP = EnvironmentSettings.FAIL_ON_EXPIRED_SKIP |
| Whether skips are configured to fail if they are past due. If true, an overdue skip will invokeAssert.Fail(), if false, an overdue skip will do nothing, and ensuing test code will run.
|
|
static readonly bool | SKIPS_ENABLED = EnvironmentSettings.SKIPS_ENABLED |
| Whether skips are currently configured to be enabled. If disabled, calls to Skip tests do nothing, and ensuing test code will run.
|
|
Class used in unit tests to mark tests as skipped by using Assert.Inconclusive() method.
Definition at line 13 of file SkipUntil.cs.
◆ Indefinitely()
static void AnalyzeReTesting.Utilities.Skip.Indefinitely |
( |
string |
ticket = null | ) |
|
|
inlinestatic |
Skip the specified test.
- Parameters
-
ticket | (optional) A ticket referencing the reason for this skipped test. |
Definition at line 54 of file SkipUntil.cs.
◆ Until()
static void AnalyzeReTesting.Utilities.Skip.Until |
( |
DateTime |
skipExpiry, |
|
|
string |
targetRelease = null , |
|
|
string |
ticket = null |
|
) |
| |
|
inlinestatic |
Skip the specified test until the specified date, after which this test should be treated as failing rather than skipped.
- Parameters
-
skipExpiry | The DateTime by which this Skip should be resolved. |
targetRelease | A description of when this skip is due. |
ticket | (optional) A ticket referencing the reason for this skipped test. |
Definition at line 29 of file SkipUntil.cs.
◆ FAIL_ON_EXPIRED_SKIP
readonly bool AnalyzeReTesting.Utilities.Skip.FAIL_ON_EXPIRED_SKIP = EnvironmentSettings.FAIL_ON_EXPIRED_SKIP |
|
static |
Whether skips are configured to fail if they are past due. If true, an overdue skip will invokeAssert.Fail(), if false, an overdue skip will do nothing, and ensuing test code will run.
Definition at line 22 of file SkipUntil.cs.
◆ SKIPS_ENABLED
readonly bool AnalyzeReTesting.Utilities.Skip.SKIPS_ENABLED = EnvironmentSettings.SKIPS_ENABLED |
|
static |
Whether skips are currently configured to be enabled. If disabled, calls to Skip tests do nothing, and ensuing test code will run.
Definition at line 17 of file SkipUntil.cs.
The documentation for this class was generated from the following file: