Skip to content

Hex1bTerminalInputSequence ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

A sequence of test steps that can be applied to a terminal. Built using .

csharp
public sealed class Hex1bTerminalInputSequence

Inheritance ​

Object → Hex1bTerminalInputSequence

Properties ​

Options ​

Gets the options for this sequence.

Returns: Hex1bTerminalInputSequenceOptions

csharp
public Hex1bTerminalInputSequenceOptions Options { get; }

Steps ​

Gets the steps in this sequence.

Returns: IReadOnlyList<TestStep>

csharp
public IReadOnlyList<TestStep> Steps { get; }

Methods ​

ApplyAsync(Hex1bTerminal, CancellationToken) ​

Applies this test sequence to the terminal. Steps are executed in order, with timing handled by the steps themselves. Returns a snapshot of the terminal state after the sequence completes.

Parameters:

Returns: Task<Hex1bTerminalSnapshot>

A snapshot of the terminal state after all steps have been executed.

csharp
public Task<Hex1bTerminalSnapshot> ApplyAsync(Hex1bTerminal terminal, CancellationToken ct = default)

Released under the MIT License.