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:
1.7.0
->1.10.0
Release Notes
bats-core/bats-core (bats)
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
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 Mend Renovate. View repository job log here.