🐛 Bug Fixes
bashunit upgradeexits non-zero with a clear error when the download fails (no more false success message)
✨ Improvements
--show-outputdisplays captured test output on assertion failures (#637)- npm registry distribution:
npm install -g bashunit(#244) bashunit::env::supports_colorandbashunit::io::clear_screenhelpers (#247)- LCOV reports now include
FN,FNDA,FNFandFNHfunction records, consumed bygenhtml, Codecov and Coveralls - LCOV reports now include
BRDA,BRFandBRHbranch records forif/elif/elsechains andcasepatterns (seeadrs/adr-007-branch-coverage-mvp.md) BASHUNIT_COVERAGE_SHOW_FUNCTIONS=trueadds a per-function coverage block to the text reportBASHUNIT_COVERAGE_SHOW_UNCOVERED=trueadds an "Uncovered Lines" block to the text report, with consecutive line numbers compressed into ranges
🛠️ Changes
- Docs moved into their own npm workspace under
docs/(usecd docs && npm ciormake docs/install) - Pre-commit hook skips the test suite when no shell files are staged
- ANSI escapes route through
_BASHUNIT_COLOR_*constants (#247)
⚡ Performance
- Faster coverage report generation: single-pass file scan, native bash regex, cached file stats (#636)
Internal
bashunit::runner::run_testsplit into nine named helpers (no behavior change)release.shhandlesdocs/package.jsonas a first-class release file- Structural test guards root
package.jsonagainst regaining dependencies or scripts
👥 Contributors
Checksum
SHA256: 29bffc3d492296c859640f7425a66f7ae0549e667e5265e3e84859a828edbf64
Full Changelog: 0.35.0...0.36.0