Added a fully interactive learning mode, expanded documentation with practical examples, fixed argument handling in mocks and lifecycle hook behavior, simplified CI runners, and delivered several performance optimizations for faster and more reliable execution.
✨ Improvements
- Added
--learninteractive tutorial featuring 10 progressive lessons for guided, hands-onBashtesting practice - Added
Common Patternsdocumentation with real-world examples for structuring tests, using hooks, and organizing suites
🐛 Bug Fixes
- Fixed mocked functions so they properly receive passed arguments
- Fixed lifecycle hooks to correctly capture intermediate failing commands inside
set_upandtear_down
🛠️ Changes
- Simplified CI matrix:
- Use only
*-latestrunners for Ubuntu and macOS - Removed deprecated
macos-13runner
- Use only
⚡ Performance
- Optimized temporary directory handling by initializing it once at startup instead of per temp file
- Replaced tail subprocesses with native Bash redirection for parallel result aggregation
- Cached internal state values to avoid repeated subshell calls, improving overall responsiveness
👥 Contributors
🔐 Checksum
b9362d720a46eb600d42ba18e6944521822ca397d1eaa1d0240fca8ce3fb859d bin/bashunit
Full Changelog: 0.26.0...0.27.0