OpenTAP 9.27
API Reference
|
An extension class for the ITestStep interface. More...
Static Public Member Functions | |
static T | GetParent< T > (this ITestStep step) |
Searches up through the Parent steps and returns the first step of the requested type that it finds. More... | |
static T | GetParent< T > (this ITestStepParent item) |
Searches up through the Parent steps and returns the first step of the requested type that it finds. More... | |
static void | OfferBreak (this ITestStep Step, bool isTestStepStarting=false) |
Raises the TestPlan.BreakOffered event on the TestPlan object to which this TestStep belongs. More... | |
static void | OfferBreak (this ITestStep Step, TestStepRun stepRun, bool isTestStepStarting=false) |
Raises the TestPlan.BreakOffered event on the TestPlan object to which this TestStep belongs. More... | |
static IEnumerable< ITestStep > | GetEnabledChildSteps (this ITestStep Step) |
Gets all the enabled Child Steps. | |
static IEnumerable< ITestStep > | GetChildSteps (this ITestStep Step, TestStepSearch searchKind) |
Gets children following a specific search patterns. Not recursive. More... | |
static IEnumerable< ITestStep > | RecursivelyGetChildSteps (this ITestStep Step, TestStepSearch searchKind) |
Recursively collects a complete list of child steps using the specified pattern. Order is depth-first. More... | |
static IEnumerable< TestStepRun > | RunChildSteps (this ITestStep step, TestPlanRun currentPlanRun, TestStepRun currentStepRun, IEnumerable< ResultParameter > attachedParameters=null) |
Runs all enabled TestStep.ChildTestSteps of this TestStep. Upgrades parent verdict to the resulting verdict of the childrens run. Throws an exception if the child step does not belong or isn't enabled. More... | |
static IEnumerable< TestStepRun > | RunChildSteps (this ITestStep step, TestPlanRun currentPlanRun, TestStepRun currentStepRun, IEnumerable< ResultParameter > attachedParameters, CancellationToken cancellationToken) |
Runs all enabled TestStep.ChildTestSteps of this TestStep. Upgrades parent verdict to the resulting verdict of the childrens run. Throws an exception if the child step does not belong or isn't enabled. More... | |
static IEnumerable< TestStepRun > | RunChildSteps (this ITestStep step, TestPlanRun currentPlanRun, TestStepRun currentStepRun, IEnumerable< ResultParameter > attachedParameters, CancellationToken cancellationToken, bool throwOnBreak) |
Runs all enabled TestStep.ChildTestSteps of this TestStep. Upgrades parent verdict to the resulting verdict of the childrens run. Throws an exception if the child step does not belong or isn't enabled. More... | |
static TestStepRun | RunChildStep (this ITestStep step, ITestStep childStep, TestPlanRun currentPlanRun, TestStepRun currentStepRun, IEnumerable< ResultParameter > attachedParameters=null) |
Runs the specified child step if enabled. Upgrades parent verdict to the resulting verdict of the child run. Throws an exception if childStep does not belong or isn't enabled. More... | |
static TestStepRun | RunChildStep (this ITestStep step, ITestStep childStep, bool throwOnBreak, TestPlanRun currentPlanRun, TestStepRun currentStepRun, IEnumerable< ResultParameter > attachedParameters=null) |
Runs the specified child step if enabled. Upgrades parent verdict to the resulting verdict of the child run. Throws an exception if childStep does not belong or isn't enabled. More... | |
static string | GetFormattedName (this ITestStep step) |
Takes the name of step and replaces {} tokens with the value of properties. | |
An extension class for the ITestStep interface.
|
inlinestatic |
Gets children following a specific search patterns. Not recursive.
Step | |
searchKind | Search pattern to use. |
|
static |
|
inlinestatic |
|
inlinestatic |
Raises the TestPlan.BreakOffered event on the TestPlan object to which this TestStep belongs.
This method allows a user interface implementation to break/pause the execution of the TestPlan at the point at which it is called.
|
inlinestatic |
Raises the TestPlan.BreakOffered event on the TestPlan object to which this TestStep belongs.
This method allows a user interface implementation to break/pause the execution of the TestPlan at the point at which it is called.
|
inlinestatic |
Recursively collects a complete list of child steps using the specified pattern. Order is depth-first.
Step | |
searchKind | Pattern. |
|
inlinestatic |
Runs the specified child step if enabled. Upgrades parent verdict to the resulting verdict of the child run. Throws an exception if childStep does not belong or isn't enabled.
step | |
childStep | The child step to run. |
throwOnBreak | Whether an exception will be thrown due to break conditions or if they will be caught. Exceptions are still available on child test steps TestStepRun.Exception. |
currentPlanRun | The current TestPlanRun. |
currentStepRun | The current TestStepRun. |
attachedParameters | Parameters that will be stored together with the actual parameters of the step. |
|
inlinestatic |
Runs the specified child step if enabled. Upgrades parent verdict to the resulting verdict of the child run. Throws an exception if childStep does not belong or isn't enabled.
step | |
childStep | The child step to run. |
currentPlanRun | The current TestPlanRun. |
currentStepRun | The current TestStepRun. |
attachedParameters | Parameters that will be stored together with the actual parameters of the step. |
|
inlinestatic |
Runs all enabled TestStep.ChildTestSteps of this TestStep. Upgrades parent verdict to the resulting verdict of the childrens run. Throws an exception if the child step does not belong or isn't enabled.
step | |
currentPlanRun | The current TestPlanRun. |
currentStepRun | The current TestStepRun. |
attachedParameters | Parameters that will be stored together with the actual parameters of the steps. |
cancellationToken | Provides a way to cancel the execution of child steps before all steps are executed. |
|
inlinestatic |
Runs all enabled TestStep.ChildTestSteps of this TestStep. Upgrades parent verdict to the resulting verdict of the childrens run. Throws an exception if the child step does not belong or isn't enabled.
step | |
currentPlanRun | The current TestPlanRun. |
currentStepRun | The current TestStepRun. |
attachedParameters | Parameters that will be stored together with the actual parameters of the steps. |
cancellationToken | Provides a way to cancel the execution of child steps before all steps are executed. |
throwOnBreak | Whether an exception will be thrown due to break conditions or if they will be caught. Exceptions are still available on child test steps TestStepRun.Exception. |
|
inlinestatic |
Runs all enabled TestStep.ChildTestSteps of this TestStep. Upgrades parent verdict to the resulting verdict of the childrens run. Throws an exception if the child step does not belong or isn't enabled.
step | |
currentPlanRun | The current TestPlanRun. |
currentStepRun | The current TestStepRun. |
attachedParameters | Parameters that will be stored together with the actual parameters of the steps. |
OpenTAP 9.27 API built Wed Nov 27 2024 13:14:46