Skip to content

Interface: TermwrightOptions

@termwright/test


@termwright/test / TermwrightOptions

Defined in: test/src/options.ts:16

Options a file or suite may override with test.override.

readonly optional columns?: number

Defined in: test/src/options.ts:19


readonly optional command?: readonly string[]

Defined in: test/src/options.ts:18

Replaced wholly, never concatenated: an argv is not a merge.


readonly optional env?: Readonly<Record<string, string>>

Defined in: test/src/options.ts:28

Merged key by key over the project’s env — overriding one variable keeps the rest, which is the only behaviour that makes suite overrides usable.


readonly optional failOnLogLevel?: false | "trace" | "debug" | "info" | "warn" | "error" | "fatal"

Defined in: test/src/options.ts:34

Initial threshold for this test; terminal.failOnLogLevel() still wins.


readonly optional requiredCapabilities?: readonly ("focus" | "pointer-input" | "semantic-tree" | "stable-identity" | "intended-geometry" | "clipped-geometry" | "painted-region" | "pointer-geometry" | "pointer-hit-testing" | "scroll" | "render-order" | "action-strategies" | "keyboard-input" | "focus-input" | "paired-revisions")[]

Defined in: test/src/options.ts:23

Replaces the project capability requirements for this scope.


readonly optional rows?: number

Defined in: test/src/options.ts:20


readonly optional terminalProfile?: TerminalProfileId

Defined in: test/src/options.ts:21


readonly optional timeouts?: TestTimeoutClasses

Defined in: test/src/options.ts:30

Merged key by key over the project’s timeout classes.


readonly optional trace?: TraceMode

Defined in: test/src/options.ts:32

Trace policy for the sessions this file or suite launches.