TestimoX

API Reference

Class

MethodExecutionStep

Namespace TestimoX.Execution.Pipeline.Steps
Assembly TestimoX

Executes the rule's main method or PowerShell script and converts engine outcomes into a StepResult.

Inheritance

  • Object
  • MethodExecutionStep

Constructors

public MethodExecutionStep() #

Methods

public virtual async Task<StepResult> ExecuteAsync(RuleComplete rule, RuleExecutionContext context, StepResult previousResult) #
Returns: Task<StepResult>

Invokes the underlying source (C# or PowerShell). Returns a failed result when execution reports errors/warnings.

Parameters

rule TestimoX.Definitions.RuleComplete requiredposition: 0
context TestimoX.Execution.RuleExecutionContext requiredposition: 1
previousResult TestimoX.Execution.Pipeline.StepResult requiredposition: 2

Properties

public virtual String StepName { get; } #

Human‑readable name for this step.

public virtual Int32 Order { get; set; } #

Relative execution order among pipeline steps.