Releases: bats-core/bats-assert
Releases · bats-core/bats-assert
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()