A test step is a delimited region of a test defined at run-time.

Namespace:  Gallio.Model.Tree
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public class TestStep : TestComponent
Visual Basic (Declaration)
Public Class TestStep _
	Inherits TestComponent

Remarks

Each test that is executed consists of at least one step: the "primary" step. During execution, each test may spawn additional nested steps that may run in parallel or in series with one another as required.

A test step may be used to describe a particular instance of a data driven test. It can also be used to generate a completely dynamic hierarchy at runtime that mirrors and extends the static test hierarchy with new information derived from the actual execution of the test.

Each step has its own execution log and test result (pass/fail/inconclusive). Therefore a multi-step test may possess multiple execution logs and test results. This is deliberate. Think of a TestStep as being the declarative component of a test that specifies which test method to invoke and its arguments. A Test is the runtime counterpart of the Test that captures output and control flow information about part or all of the test.

A test step also has metadata that can be update at run-time to carry additional declarative information about the step.

Inheritance Hierarchy

System..::.Object
  Gallio.Model.Tree..::.TestComponent
    Gallio.Model.Tree..::.TestStep
      Gallio.Framework.Pattern..::.PatternTestStep

See Also