Repository navigation
feat(output): report terminal program status (OSC 7501) for run and init - #414
Merged
Merged
Conversation
…re the first suite runs Suites are scanned one at a time, so before this event nothing could size a run-wide progress indicator. It carries the final suite list with `--suite` already applied, and the first scan still comes after it. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
roxblnfk
force-pushed
the
feat/terminal-program-status
branch
3 times, most recently
from
November 17, 2026 13:19
0643010 to
5bfdd97
Compare
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
roxblnfk
force-pushed
the
feat/terminal-program-status
branch
from
November 17, 2026 13:22
5bfdd97 to
4330065
Compare
… `init` The percent goes in segments: an equal share per suite, a suite's share per test case, a case's share per test. Each suite and case start resets it to its own segment start, so a miscount does not carry over. The status is written only to an interactive terminal (on Windows, only with VT processing on). It is off for quiet and plain output, and `TESTO_TERMINAL_STATUS=0` turns it off. Refs #413 Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
roxblnfk
force-pushed
the
feat/terminal-program-status
branch
from
November 17, 2026 15:04
4330065 to
41b4c79
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 What was changed
vendor/bin/testo runreports its state to the terminal through OSC 7501 program status:workingwith a percent while tests run, thendoneorerrorfrom the run result.vendor/bin/testo initreportsblockedwhile a prompt waits for an answer, thendoneorerror.TestSuitesLocatedevent: fires once with the final suite list (--suiteapplied), before the first suite is scanned.How it works
--json,--teamcity,--quiet,--no-ansiandNO_COLOR.TESTO_TERMINAL_STATUS=0turns it off everywhere.Checklist
Documentation
docs/spec/events-naming.md, skillstesto-plugin-authorandtesto-run-tests.Limitations
composer teston Windows: Composer pipes a script's output, so Testo sees no terminal. Runvendor/bin/testodirectly.