Repository navigation
v2.2 (?) pretty runner, severity banners, optional spec messages, and tearDown hook - #6
Merged
Merged
Conversation
keithy
force-pushed
the
master
branch
2 times, most recently
from
October 16, 2026 16:38
0c6bf19 to
d7c8e6d
Compare
…N/ERROR Some example enhancements for LLM to undertand glob matching [[ ... ]] "message about failure" Explicit tearDown hook (LLMS always try and fail to set trap)
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.
Some improvements.
• Optional message on
should_succeed/should_fail. A trailing string is now rendered into the**** FAILline only on the unexpected outcome — pass lines stay clean.• Explicit
tearDownhook. Specs can now declarefunction tearDown { … }and bash-spec will run it on EXIT beforeoutput_results. This is to discourage an LLM from redeclaring the EXIT trap and getting confused when it doesn't work.• Severity-prefixed echo support (
OK:... INFO: …,WARN: …,ERROR: …). Pretty runner filters on these prefixes so suites can emit structured progress without leaking noise into the index.• Pretty test runner. Adds
_pretty_run_all.shwith ✔ ✘ icons, (n/m) counts, banner colouring and an index line per spec; the older_run_all.shis remains for compatibility.• Additional comments/test demonstrating glob matching (LLMs miss this capability and start implementing unhelpful helpers)