Skip to content

docs: document how invalid input is rejected, and fix drifted signatures#881

Merged
Chemaclass merged 1 commit into
mainfrom
docs/refresh-and-validate
Jul 25, 2026
Merged

docs: document how invalid input is rejected, and fix drifted signatures#881
Chemaclass merged 1 commit into
mainfrom
docs/refresh-and-validate

Conversation

@Chemaclass

Copy link
Copy Markdown
Member

🤔 Background

#871#880 hardened the CLI to reject unknown options, out-of-range values and unusable
bootstrap/report paths. None of that behaviour was documented anywhere — a user hitting
Error: unknown option '--parralel' had no page explaining it.

Auditing the rest of the markdown surface turned up several drifted signatures alongside it.

💡 Changes

  • Add Invalid input to Command line, covering unknown options, invalid values and unusable paths; every quoted message was verified verbatim against real output
  • Document BASHUNIT_REPORT_TAP and BASHUNIT_REPORT_JSON in Configuration, next to the JUnit/HTML/GHA reports they belong with, and confirm both work as environment variables
  • Fix drift: snapshots.md omitted the optional ["snapshot_file"] both snapshot assertions accept, standalone.md did not state that a malformed invocation exits 1, benchmarks.md did not mention @max_ms accepts decimals, and one test-doubles.md signature was missing backticks
  • README claimed "hundreds of assertions" one line above "~70" — it is 71; also points at the agent tooling, which it never mentioned

Seven releases hardened the CLI to reject unknown options, out-of-range
values and unusable bootstrap/report paths, and none of it was written
down. Adds a Command line section covering all three, with output
verified against the real messages.

Also corrects drift found while auditing:
- snapshots.md omitted the optional ["snapshot_file"] argument that both
  snapshot assertions accept
- README claimed 'hundreds of assertions' one line above '~70'; it is 71
- BASHUNIT_REPORT_TAP and BASHUNIT_REPORT_JSON were undocumented while
  their JUnit/HTML/GHA siblings were
- standalone.md did not state that a malformed invocation exits 1
- test-doubles.md was missing backticks on one signature
- benchmarks.md did not mention @max_ms accepts decimals
@Chemaclass Chemaclass added the documentation Improvements or additions to documentation label Jul 25, 2026
@Chemaclass Chemaclass self-assigned this Jul 25, 2026
@Chemaclass
Chemaclass merged commit e8c7369 into main Jul 25, 2026
6 checks passed
@Chemaclass
Chemaclass deleted the docs/refresh-and-validate branch July 25, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant