Skip to content

TestStep

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Base class for test sequence steps. Each step knows how to execute itself against a terminal.

csharp
public abstract record TestStep : IEquatable<TestStep>

Inheritance

ObjectTestStep

Implements

Methods

DelayAsync(TimeProvider, TimeSpan, CancellationToken)

Creates a delay using the specified TimeProvider. When using FakeTimeProvider, the test must advance time externally.

Parameters:

Returns: Task

csharp
protected static Task DelayAsync(TimeProvider timeProvider, TimeSpan delay, CancellationToken ct)

Released under the MIT License.