0.6.0
Version 0.6.0
Changelog
- Added
skip_test "${REASON}": marks the current test as skipped and reports the reason. Use
skip_test "reason" && returnto end the test body. - Added
--no-skip, which turns everyskip_testinto a failure. For an environment that
GUARANTEES the capability a test probes for, where a skip means the guarantee broke. - Fixed: a fatal abort inside a test no longer reports success. The
EXITtrap's own last command
became the script's exit status, so a failing run could exit 0. This repository's own test suite
was dying at case 5 of 12 underset -uand still reporting PASS, hiding the seven that never
ran. - Fixed:
expect_contains/expect_not_containsaborted the shell when given an EMPTY array.
bash 3.2 (which macOS ships) treats"${@}"and"${array[@]}"as unbound underset -u.
For Bazel MODULE.bazel
bazel_dep(name = "helly25_bashtest", version = "0.6.0")
What's Changed
- Bump version from 0.5.0 to 0.5.1 by @helly25 in #24
- Add skip_test and --no-skip; fix a suite that reported green while dying by @helly25 in #25
Full Changelog: 0.5.0...0.6.0