Skip to content

Hex1bTerminalInputSequenceOptions

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Options for configuring test sequence execution.

csharp
public sealed class Hex1bTerminalInputSequenceOptions

Inheritance

ObjectHex1bTerminalInputSequenceOptions

Properties

Default

Default options instance.

Returns: Hex1bTerminalInputSequenceOptions

csharp
public static Hex1bTerminalInputSequenceOptions Default { get; }

PollInterval

How frequently to poll when waiting for conditions. Default is 250ms.

Returns: TimeSpan

csharp
public TimeSpan PollInterval { get; init; }

SlowTypeDelay

Delay between keystrokes for SlowType. Default is 50ms.

Returns: TimeSpan

csharp
public TimeSpan SlowTypeDelay { get; init; }

TimeProvider

Optional TimeProvider for controlling time in tests. When using FakeTimeProvider, the test should not await ApplyAsync directly. Instead, run ApplyAsync without await, then advance time using FakeTimeProvider.Advance() to trigger the Wait steps. Default is null (uses Task.Delay with real time).

Returns: TimeProvider

csharp
public TimeProvider? TimeProvider { get; init; }

Released under the MIT License.