chore(deps): update dependency bats-core/bats-core to v1.10.0 #654
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.2.0
->v1.10.0
Release Notes
bats-core/bats-core (bats-core/bats-core)
v1.10.0
Compare Source
Added:
${BATS_TEST_TAGS[@​]}
for querying the tags during a test (#705)--jobs
(#693)--formatter cat
(#710)bats_pipe
helper function forrun
that executes\|
as pipes (#663)Documentation:
--formatter cat
(#710)Fixed:
run
with options overwriting the value ofi
(#726, #727)${BATS_TEST_NAMES[@​]}
containing only--tags
instead of test name since Bats v1.8.0 (#705)run --keep-empty-lines
counting trailing\n
as (empty) new line (#711)--gather-test-outputs-in
fails on tests with/
(#735)date
breaks--timing
(#736)Documentation
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.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.4.1
Compare Source
Bats 1.4.1
Released: 2021-07-24
Added:
Fixed:
v1.4.0
Compare Source
Bats 1.4.0
Released: 2021-07-23
Added:
$BATS_TMPDIR
(#410)container entrypoint to improve signal forwarding (#407)
/tmp/bats-run-22908-NP0f9h/bats.23102.src
)with original filename in stdout/err (but not FD3!) (#429)
Documentation
Fixed:
bats_tap_stream_unknown: command not found
with pretty formatter, whenwriting non compliant extended output (#412)
$BATS_RUN_TMPDIR
with--no-tempdir-cleanup
and dockerby using
mktemp
additionally to PID (#409)rm semaphores/slot-: No such file or directory
in parallel mode on MacOS(#434, #433)
...
instead of---
to starta block (#442)
/code
exists in docker container, to make examples work again (#440)v1.3.0
Compare Source
Bats 1.3.0
Released: 2021-03-08
Added:
BATS_FILE_EXTENSION
when searching for testfiles in a directory (#376)
Documentation
run
(#343)load
(#332)Changed:
--report-formatter
and (stdout)--formatter
(#345)--formatter junit
.stdout will now show unified xml instead of TAP. From now on, please use
--report-formatter junit
to obtain the.xml
report file!--parallel-preserve-environment
flag, as this is the defaultbehavior (#324)
--no-tempdir-cleanup
isspecified (#395)
Documentation
Fixed:
Correctness
set -u
(#392)$PATH
in test files (#387)BATS_TEST_NUMBER
count per file again (#326)lib/
in npm package (#352)Performance
Documentation
--formatter junit
(#334)setup_file
variables (#333)v1.2.1
: Bats 1.2.1Compare Source
Released: 2020-07-06
Added:
load
function now reads from absolute and relative paths, and $PATH (#282)bats-file
fork contributed tobats-core/bats-file
(#276)Changed:
ncurses
to Dockerfile, override with--tap
(#239)Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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 Mend Renovate. View repository job log here.