Update dependency bats to v1.11.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
bats | devDependencies | minor | 1.8.2 -> 1.11.0 |
Release Notes
bats-core/bats-core (bats)
v1.11.0
Added:
- hardened CI scripts by using hashes instead of versions for actions and restricting permissions (#754, #770)
- add security.md (#762)
- add codespell CI checks (#720)
- dynamic test registration via
bats_test_function
(#349) - add check that Bats is executed with Bash >= 3.2 (#873)
Fixed:
-
install.sh
now works for deviatinglib/
dirs (likelib32
,lib64
) (#487) - catch unset
BATS_TEST_SOURCE
inlib/bats-core/tracing.bash
soset -u
/set -o nounset
works as expected (#827) - fix
--gather-test-outputs-in
fails on tests with multiple/
(#789) - install does not create unused
/usr/share/bats
anymore (#857) - ensure IFS is unchanged in
{setup,teardown}{_suite,_file,}
,@test
and free code (#879) - junit formatter: remove ANSI Codes to avoid invalid XML character (#886)
Changed:
- update Docker image with the latest
bats-file
version 0.4.0 (#780) - update Docker image with the latest
bats-detik
version 1.3.0 (#876)
Documentation
- clarify docker usage (#741)
- update Arch Linux package URL in installation.rst (#821)
- rename bash-bats to bats for Arch Linux in installation.rst (#836)
- fix FAQ entry about setup-/teardown_suite, as they are available now (#861)
- added logo (#881)
v1.10.0
Added:
- add
${BATS_TEST_TAGS[@​]}
for querying the tags during a test (#705) - print tags on failing tests (#705)
- test for negative arguments to
--jobs
(#693) - add tests for
--formatter cat
(#710) - test coverage in CI (#718)
- Support for rush as alternative to GNU parallel (#729)
- add
bats_pipe
helper function forrun
that executes\|
as pipes (#663) - publish docker images to ghcr.io (additionally to Dockerhub) (#740)
Documentation:
- clarify use cases of
--formatter cat
(#710)
Fixed:
- fix
run
with options overwriting the value ofi
(#726, #727) - fix
${BATS_TEST_NAMES[@​]}
containing only--tags
instead of test name since Bats v1.8.0 (#705) - fix
run --keep-empty-lines
counting trailing\n
as (empty) new line (#711) - fix short flag unpacker creating bogus command lines with valued flags (#732)
- fix formatter becoming confused with retries (#734)
- fix
--gather-test-outputs-in
fails on tests with/
(#735) - fix overriding
date
breaks--timing
(#736)
Documentation
v1.9.0
Added:
- add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE (#659)
- add
--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
-
- add
bats:focus
tag to run only focused tests (#679) - add bats-support, bats-assert, bats-file and bats-detik to Dockerfile (#674)
Documentation:
- add
--help
text andman
page content for--filter-tags
(#679)
Fixed:
- explicitly check for GNU parallel (#691)
- wait for report-formatter to finish before ending
bats
' execution, to fix empty files with--report-fomatter junit
under Docker (#692)
Documentation
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.