Skip to content

0.32.0

Latest

Choose a tag to compare

@Chemaclass Chemaclass released this 12 Jan 07:55
· 8 commits to main since this release
0.32.0
8d58282

🛠️ 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_PATHS is not set
    • tests/unit/assert_test.sh automatically tracks src/assert.sh
    • Removes the need for manual --coverage-paths configuration in most cases
  • --coverage-report-html now defaults to coverage/html when 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.sh alongside other tests

👥 Contributors

Checksum

SHA256: c0609ee93bc60c60e171cd7a95479f1e900df974f559e874acbbc3e7b925d6a9

Full Changelog: 0.31.0...0.32.0