ConformanceRunOptions
ConformanceRunOptions<
TContext> =object
Defined in: packages/core/src/conformance/runner.ts:77
Type Parameters
Section titled “Type Parameters”TContext
Section titled “TContext”TContext
Properties
Section titled “Properties”caseTimeoutMs?
Section titled “caseTimeoutMs?”
optionalcaseTimeoutMs?:number
Defined in: packages/core/src/conformance/runner.ts:84
Optional per-case timeout (test body only). No timeout by default.
cleanupTimeoutMs?
Section titled “cleanupTimeoutMs?”
optionalcleanupTimeoutMs?:number
Defined in: packages/core/src/conformance/runner.ts:88
Optional timeout for the cleanup callback. No timeout by default.
onResult?
Section titled “onResult?”
optionalonResult?: (result) =>void
Defined in: packages/core/src/conformance/runner.ts:90
Hook called after each case finishes. Errors are logged but do not abort the run.
Parameters
Section titled “Parameters”result
Section titled “result”Returns
Section titled “Returns”void
setup: () =>
Promise<{cleanup?: () =>Promise<void>;context:TContext; }>
Defined in: packages/core/src/conformance/runner.ts:82
Called before each case to produce an isolated test context.
The returned cleanup runs after the case regardless of outcome.
Returns
Section titled “Returns”Promise<{ cleanup?: () => Promise<void>; context: TContext; }>
setupTimeoutMs?
Section titled “setupTimeoutMs?”
optionalsetupTimeoutMs?:number
Defined in: packages/core/src/conformance/runner.ts:86
Optional timeout for the setup callback. No timeout by default.