Skip to content

feat: run Errata tests interactively in a widget - #959

Open
david-christiansen wants to merge 4 commits into
test-framework-2from
test-framework-3
Open

feat: run Errata tests interactively in a widget#959
david-christiansen wants to merge 4 commits into
test-framework-2from
test-framework-3

Conversation

@david-christiansen

Copy link
Copy Markdown
Collaborator

Tests can additionally be run interactively using a widget. When the text cursor is on a test's source span, the InfoView offers a "run" button that runs the test in a separate process, streaming its output as it is produced and killing the process if the run is cancelled.

david-christiansen and others added 4 commits August 27, 2026 15:29
Tests can additionally be run interactively using a widget. When the text
cursor is on a test's source span, the InfoView offers a "run" button that
runs the test in a separate process, streaming its output as it is produced
and killing the process if the run is cancelled.
The run's lifecycle is one reducer over idle/running/done/cancelled/
failed states, each carrying only its own data, so a verdict cannot
coexist with an error or a spinner. Timings come from the server's
per-run record, so revisiting a test mid-run keeps its true elapsed
time instead of restarting the clock.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant