Update bats/bats Docker tag to v1.9.0 #1151
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/bats-bats-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.4.1
->1.9.0
Release Notes
bats-core/bats-core
v1.9.0
Compare Source
Added:
--line-reference-format
to switch file/line references in stack traces (#665)comma_line
(default):file.bats, line 1
colon
:file.bats:1
uri
:file:///path/to/file.bats:1
custom
: define your own formatter inbats_format_file_line_reference_custom
bats:focus
tag to run only focused tests (#679)Documentation:
--help
text andman
page content for--filter-tags
(#679)Fixed:
bats
' execution,to fix empty files with
--report-fomatter junit
under Docker (#692)Documentation
run
(#366)v1.8.2
Compare Source
Bats 1.8.2
Released: 2022-10-19
Fixed:
v1.8.1
Compare Source
Bats 1.8.1
Released: 2022-10-19
Fixed:
shfmt
all files and enforce via CI (#651)-j<n>
(without space) (#657)v1.8.0
Compare Source
Bats 1.8.0
Released: 2022-09-15
Added:
--formatter <absolute path>
(also works for--report-formatter
) (#602)--filter-status failed
(#483)BATS_TEST_RETRIES
that specifies how often a test should bereattempted before it is considered failed (#618)
latest-no-faccessat2
and<bats-version\>-no-faccessat2
foravoiding
bash: bats: No such file or directory
ondocker<20.10
(orrunc<v1.0.0-rc93
) (#622)BATS_TEST_TIMEOUT
variable to force a timeout on test (includingsetup()
) (#491)$stderr
(fromrun --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)setup_suite
in wrong file (.bats
instead ofsetup_suite.bash
) (#652)Documentation
run !
on Batsversions >=1.5.0 (#593)
bats_require_minimum_version
(#595)setup_suite
(#652)Fixed:
run -<N>
being incorrectly documented asrun =<N>
(#599)--gather-test-outputs-in <directory>
to work with existing, emptydirectories (#603)
--clean-and-gather-test-outputs-in <directory>
for improved UXload
inteardown
marking failed tests as not run (#612)teardown_file
errors don't swallowsetup_file
errors anymore, the behavioris more like
teardown
's now (onlyreturn
/last command can triggerteardown
errors) (#623)
(18.04 -> 22.04) (#630)
/usr/lib/bats
as default value forBATS_LIB_PATH
(#628)bats-formatter-junit
whensetup_file
fails (#632)teardown
/teardown_file
/teardown_suite
functions:only fail via return code, not via ERREXIT (#633)
set -u
onsetup_suite
failures (#643)load
not being available insetup_suite
(#644)IFS
byrun
(#650)setup_suite
's stderr on errors (#649)Documentation
v1.7.0
Compare Source
Bats 1.7.0
Released: 2022-05-14
Added:
bats_require_minimum_version
guard (#587)bats_require_minimum_version
to guard code that would not run on olderversions (#587)
Documentation
$BATS_VERSION
(#557)Fixed:
SHELLOPTS=nounset
(-u
) (#558)flock
andshlock
for parallel mode test (#554)#
with pretty formatter (#561)teardown
,teardown_file
, andteardown_suite
from overriding bats'exit code by setting
$status
(e.g. via callingrun
) (#581, #575)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
run -N
(had=N
instead) (#579)issue #578 for more
details and how to find out if your tests are affected.
v1.6.1
Compare Source
Bats 1.6.1
Released: 2022-05-14
Fixed:
teardown
,teardown_file
, andteardown_suite
from overriding bats'exit code by setting
$status
(e.g. via callingrun
) (#581, #575)your CI from reporting test failures! The regression happened in version 1.6.0.
Documentation
run -N
(had=N
instead) (#579)v1.6.0
Compare Source
Bats 1.6.0
Released: 2022-02-24
Added:
--code-quote-style
(and$BATS_CODE_QUOTE_STYLE
) to customizequotes around code blocks in error output (#506)
test run (#525, #535)
bats_load_library
for loading libraries from the search path$BATS_LIB_PATH
(#548)Fixed:
/tmp/latch
in selftest suite(single use latch) (#516)
teardown_file
as<failure>
in junit output (#532)Documentation
v1.6.0
Compare Source
Bats 1.6.0
Released: 2022-02-24
Added:
--code-quote-style
(and$BATS_CODE_QUOTE_STYLE
) to customizequotes around code blocks in error output (#506)
test run (#525, #535)
bats_load_library
for loading libraries from the search path$BATS_LIB_PATH
(#548)Fixed:
/tmp/latch
in selftest suite(single use latch) (#516)
teardown_file
as<failure>
in junit output (#532)Documentation
v1.5.0
Compare Source
Bats 1.5.0
Released: 2021-10-22
Added:
--verbose-run
: Makerun
print$output
by default-x
,--trace
: Print test commands as they are executed (likeset -x
)`--show-output-of-passing-tests
: Print output of passing tests--print-output-on-failure
: Automatically print the value of$output
onfailed tests
--gather-test-outputs-in <directory>
: Gather the output of failing andpassing tests as files in directory
run
via!
/-<N>
(#367, #507)install.sh
anduninstall.sh
take an optional second parameter for the libfolder name to allow for multilib install, e.g. into lib64 (#452)
run
flag--keep-empty-lines
to retain empty lines in${lines[@​]}
(#224,a894fbf
)run
flag--separate-stderr
which also fills$stderr
and$stderr_lines
(#47,5c9b173
, #507)Fixed:
run
's$output
when splitting into${lines[@​]}
(#151, #152, #158, #156, #281, #289)
filtering (#484)
too (#495, #145)
set -u
test and fixed some unset variable accesses (#498, #501)restricted systems (#503)
Documentation
v1.5.0
Compare Source
Bats 1.5.0
Released: 2021-10-22
Added:
--verbose-run
: Makerun
print$output
by default-x
,--trace
: Print test commands as they are executed (likeset -x
)`--show-output-of-passing-tests
: Print output of passing tests--print-output-on-failure
: Automatically print the value of$output
onfailed tests
--gather-test-outputs-in <directory>
: Gather the output of failing andpassing tests as files in directory
run
via!
/-<N>
(#367, #507)install.sh
anduninstall.sh
take an optional second parameter for the libfolder name to allow for multilib install, e.g. into lib64 (#452)
run
flag--keep-empty-lines
to retain empty lines in${lines[@​]}
(#224,a894fbf
)run
flag--separate-stderr
which also fills$stderr
and$stderr_lines
(#47,5c9b173
, #507)Fixed:
run
's$output
when splitting into${lines[@​]}
(#151, #152, #158, #156, #281, #289)
filtering (#484)
too (#495, #145)
set -u
test and fixed some unset variable accesses (#498, #501)restricted systems (#503)
Documentation
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Update bats/bats Docker tag to v1.8.2to Update bats/bats Docker tag to v1.9.0df157d0f9c
to28d3ee2c06
28d3ee2c06
to03246f7d96
03246f7d96
toadbf4d1635