Releases: bats-core/bats-assert
Releases · bats-core/bats-assert
v2.2.0
What's Changed
- assert_regex: matching empty string is not invalid regex by @martin-schulze-vireso in #54
- readme tweaks by @jasonkarns in #57
- Remove dependency of package 'verbose' by @Mukundan314 in #55
- Reuse shared test workflow by @jasonkarns in #58
- Rename master branch as main by @jasonkarns in #59
- readme: Update GitHub actions CI badge by @hyperupcall in #63
- Add warning about "missing" parts of regex by @TurekBot in #68
- feat: add assert_stderr, refute_stderr, assert_stderr_line by @mh182 in #72
- feat: Print stderr in assert_success/failure by @jakub-bochenski in #75
- Fix
stderr: parameter not set
withset -u
by @martin-schulze-vireso in #77 - Create GHA job to sync master with main by @jasonkarns in #78
- release workflow by @jasonkarns in #81
New Contributors
- @Mukundan314 made their first contribution in #55
- @hyperupcall made their first contribution in #63
- @TurekBot made their first contribution in #68
- @mh182 made their first contribution in #72
- @jakub-bochenski made their first contribution in #75
Full Changelog: v2.1.0...v2.2.0
v2.1.0
2.0.0
First release since being forked from https://github.com/ztombol/bats-assert.
Added:
- Ability to assert/refute the existence of output: ztombol#15
Breaking changes from 0.3.0:
assert_output
(andrefute_output
) no longer reads the expected value from STDIN when invoked without arguments. Rather, STDIN expectations require an explicit-
or--stdin
flag. This allowsassert_output
(and therefute_output
complement) to match on the existence of output by invoking without args. (see ztombol#5 and ztombol#15)
Migrating from jasonkarns/[email protected]:
https://github.com/jasonkarns/bats-assert-1/wiki/Migrating-from-v1.1.1
v0.3.0
Removed
- Move
fail()
tobats-support
v0.2.0
Added
refute()
to complementassert()
npm
support
Fixed
- Not consuming the
--
when stopping option parsing in
assert_output
,refute_output
,assert_line
andrefute_line
v0.1.0
Added
- Reporting arbitrary failures with
fail()
- Generic assertions with
assert()
andassert_equal()
- Testing exit status with
assert_success()
andassert_failure()
- Testing output with
assert_output()
andrefute_output()
- Testing individual lines with
assert_line()
andrefute_line()