using external formatters via --formatter <absolute path> (also works for --report-formatter) (#602)
running only tests that failed in the last run via --filter-status failed (#483)
variable BATS_TEST_RETRIES that specifies how often a test should be
reattempted before it is considered failed (#618)
Docker tags latest-no-faccessat2 and <bats-version\>-no-faccessat2 for
avoiding bash: bats: No such file or directory on docker<20.10 (or runc<v1.0.0-rc93) (#622)
BATS_TEST_TIMEOUT variable to force a timeout on test (including setup()) (#491)
also print (nonempty) $stderr (from run --separate-stderr) with --print-output-on-failure (#631)
# bats test_tags=<tag list>/# bats file_tags=<tag list> and --filter-tags <tag list> for tagging tests for execution filters (#642)
warning BW03: inform about setup_file in wrong file (.bats instead of setup_suite.bash) (#652)
Documentation
update gotcha about negated statements: Recommend using run ! on Bats
versions >=1.5.0 (#593)
add documentation for bats_require_minimum_version (#595)
remaining instances of run -<N> being incorrectly documented as run =<N> (#599)
allow --gather-test-outputs-in <directory> to work with existing, empty
directories (#603)
also add --clean-and-gather-test-outputs-in <directory> for improved UX
double slashes in paths derived from TMPDIR on MacOS (#607)
fix load in teardown marking failed tests as not run (#612)
fix unset variable errors (with set -u) and add regression test (#621)
teardown_file errors don't swallow setup_file errors anymore, the behavior
is more like teardown's now (only return/last command can trigger teardown
errors) (#623)
upgraded from deprecated CI envs for MacOS (10 -> 11,12) and Ubuntu
(18.04 -> 22.04) (#630)
add /usr/lib/bats as default value for BATS_LIB_PATH (#628)
fix unset variable in bats-formatter-junit when setup_file fails (#632)
unify error behavior of teardown/teardown_file/teardown_suite functions:
only fail via return code, not via ERREXIT (#633)
fix unbound variable errors with set -u on setup_suite failures (#643)
fix load not being available in setup_suite (#644)
document new warning infrastructure (#589, #587, #586)
Fixed:
unbound variable errors in formatters when using SHELLOPTS=nounset (-u) (#558)
don't require flockandshlock for parallel mode test (#554)
print name of failing test when using TAP13 with timing information (#559, #555)
removed broken symlink, added regression test (#560)
don't show empty lines as # with pretty formatter (#561)
prevent teardown, teardown_file, and teardown_suite from overriding bats'
exit code by setting $status (e.g. via calling run) (#581, #575)
CRITICAL: this can return exit code 0 despite failed tests, thus preventing
your CI from reporting test failures! The regression happened in version 1.6.0.
run --keep-empty-lines now reports 0 lines on empty $output (#583)
Documentation
remove 2018 in title, update copyright dates in README.md (#567)
prevent teardown, teardown_file, and teardown_suite from overriding bats'
exit code by setting $status (e.g. via calling run) (#581, #575)
CRITICAL: this can return exit code 0 despite failed tests, thus preventing
your CI from reporting test failures! The regression happened in version 1.6.0.
Documentation
corrected invalid documentation of run -N (had =N instead) (#579)
CRITICAL: using the incorrect form can lead to silent errors. See issue #578 for more details and how to find out if your tests are affected.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ bats (1.6.0 → 1.8.0) · Repo
Release Notes
1.8.0
1.7.0
1.6.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands