v1.14.0 #1218
martin-schulze-vireso
announced in
Announcements
v1.14.0
#1218
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Added:
--errexitflag to enable errexit (set -e) behavior for commands run inrun(Add --errexit flag to enable errexit in run commands #1118)Fixed:
teardown_suitegenerates FD3 output (JUnit formatter reported last skipped test as failure if teardown_suite logs to fd3 #1181)--gather-test-outputs-inwhen tests change directory (Fix --gather-test-outputs-in fails when tests change directory #1183)runnow honorsset -ein your functions (Add --errexit flag to enable errexit in run commands #1118)While it might constitute a breaking change for some, we decided the new behavior should be the default because it might uncover hidden errors.
If you need the old behavior, you can use this wrapper function
suppress_errexit() { "$@" || return $?; }likerun suppress_errexit <your command...>$_by the DEBUG and ERR traps set by Bats (Avoid overwriting $_ by the DEBUG and ERR traps set by Bats #1208)Changed:
bashDocker image to 5.3 indevcontainer(chore(devcontainer): update default bash version to 5.3 #1184)--allow-empty-suiteto revert to old behavior. (feat: exit 1 on empty suite #1211)Documentation:
This discussion was created from the release v1.14.0.
All reactions