🛠️ Changes
- Hook output now displays with right-aligned timing and bullet prefix (
● set_up_before_script 2.03s)
✨ Improvements
- Better code coverage HTML report
- Auto-discover coverage paths from test file names when
BASHUNIT_COVERAGE_PATHSis not settests/unit/assert_test.shautomatically trackssrc/assert.sh- Removes the need for manual
--coverage-pathsconfiguration in most cases
--coverage-report-htmlnow defaults tocoverage/htmlwhen no directory is specified
🐛 Bug Fixes
- Coverage now excludes control flow keywords (
then,else,fi,do,done,esac,;;, case patterns) from line tracking - Coverage HTML report now correctly handles namespaced functions with colons (e.g.,
bashunit::assert::equals) - Coverage data no longer lost when running
coverage_test.shalongside other tests
👥 Contributors
Checksum
SHA256: c0609ee93bc60c60e171cd7a95479f1e900df974f559e874acbbc3e7b925d6a9
Full Changelog: 0.31.0...0.32.0