0.5.0
Version 0.5.0
Changelog
- Added text-matching assertions:
expect_output_contains/expect_output_not_contains: literal substring checks.expect_matches/expect_not_matches: extended regular expression (ERE) checks via bash's built-in[[ =~ ]](no subprocess, so SIGPIPE-safe underset -o pipefail).^/$anchor the whole text, not individual lines.expect_pcre_matches/expect_pcre_not_matches: Perl Compatible Regular Expression checks. These shell out to an external tool (grep -P,ggrep -P,pcre2grep, orpcregrep) via a here-string and fail with an actionable message when none is available.
- Documented the
cmd | grep -qSIGPIPE-under-pipefail pitfall in the README.
For Bazel MODULE.bazel
bazel_dep(name = "helly25_bashtest", version = "0.5.0")
What's Changed
- Bump version from 0.4.0 to 0.4.1 by @helly25 in #22
- feat: add text-matching assertions (expect_matches, expect_output_contains, expect_pcre_matches); bump to 0.5.0 by @helly25 in #23
Full Changelog: 0.4.0...0.5.0