chore(deps): update dependency bats-core/bats-core to v1.10.0#654
Merged
Conversation
garethahealy
approved these changes
Dec 13, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.0Release Notes
bats-core/bats-core (bats-core/bats-core)
v1.10.0Compare Source
Added:
${BATS_TEST_TAGS[@​]}for querying the tags during a test (#705)--jobs(#693)--formatter cat(#710)bats_pipehelper function forrunthat executes\|as pipes (#663)Documentation:
--formatter cat(#710)Fixed:
runwith options overwriting the value ofi(#726, #727)${BATS_TEST_NAMES[@​]}containing only--tagsinstead of test name since Bats v1.8.0 (#705)run --keep-empty-linescounting trailing\nas (empty) new line (#711)--gather-test-outputs-infails on tests with/(#735)datebreaks--timing(#736)Documentation
v1.9.0Compare Source
Added:
--line-reference-formatto switch file/line references in stack traces (#665)comma_line(default):file.bats, line 1colon:file.bats:1uri:file:///path/to/file.bats:1custom: define your own formatter inbats_format_file_line_reference_custombats:focustag to run only focused tests (#679)Documentation:
--helptext andmanpage content for--filter-tags(#679)Fixed:
bats' execution,to fix empty files with
--report-fomatter junitunder Docker (#692)Documentation
run(#366)v1.8.2Compare Source
Bats 1.8.2
Released: 2022-10-19
Fixed:
v1.8.1Compare Source
Bats 1.8.1
Released: 2022-10-19
Fixed:
shfmtall files and enforce via CI (#651)-j<n>(without space) (#657)v1.8.0Compare 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_RETRIESthat specifies how often a test should bereattempted before it is considered failed (#618)
latest-no-faccessat2and<bats-version\>-no-faccessat2foravoiding
bash: bats: No such file or directoryondocker<20.10(orrunc<v1.0.0-rc93) (#622)BATS_TEST_TIMEOUTvariable 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_suitein wrong file (.batsinstead 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 UXloadinteardownmarking failed tests as not run (#612)teardown_fileerrors don't swallowsetup_fileerrors anymore, the behavioris more like
teardown's now (onlyreturn/last command can triggerteardownerrors) (#623)
(18.04 -> 22.04) (#630)
/usr/lib/batsas default value forBATS_LIB_PATH(#628)bats-formatter-junitwhensetup_filefails (#632)teardown/teardown_file/teardown_suitefunctions:only fail via return code, not via ERREXIT (#633)
set -uonsetup_suitefailures (#643)loadnot being available insetup_suite(#644)IFSbyrun(#650)setup_suite's stderr on errors (#649)Documentation
v1.7.0Compare Source
Bats 1.7.0
Released: 2022-05-14
Added:
bats_require_minimum_versionguard (#587)bats_require_minimum_versionto guard code that would not run on olderversions (#587)
Documentation
$BATS_VERSION(#557)Fixed:
SHELLOPTS=nounset(-u) (#558)flockandshlockfor parallel mode test (#554)#with pretty formatter (#561)teardown,teardown_file, andteardown_suitefrom 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-linesnow reports 0 lines on empty$output(#583)Documentation
run -N(had=Ninstead) (#579)issue #578 for more
details and how to find out if your tests are affected.
v1.6.1Compare Source
Bats 1.6.1
Released: 2022-05-14
Fixed:
teardown,teardown_file, andteardown_suitefrom 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=Ninstead) (#579)v1.6.0Compare 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_libraryfor loading libraries from the search path$BATS_LIB_PATH(#548)Fixed:
/tmp/latchin selftest suite(single use latch) (#516)
teardown_fileas<failure>in junit output (#532)Documentation
v1.5.0Compare Source
Bats 1.5.0
Released: 2021-10-22
Added:
--verbose-run: Makerunprint$outputby 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$outputonfailed tests
--gather-test-outputs-in <directory>: Gather the output of failing andpassing tests as files in directory
runvia!/-<N>(#367, #507)install.shanduninstall.shtake an optional second parameter for the libfolder name to allow for multilib install, e.g. into lib64 (#452)
runflag--keep-empty-linesto retain empty lines in${lines[@​]}(#224,a894fbf)runflag--separate-stderrwhich also fills$stderrand$stderr_lines(#47,5c9b173, #507)Fixed:
run's$outputwhen splitting into${lines[@​]}(#151, #152, #158, #156, #281, #289)
filtering (#484)
too (#495, #145)
set -utest and fixed some unset variable accesses (#498, #501)restricted systems (#503)
Documentation
v1.4.1Compare Source
Bats 1.4.1
Released: 2021-07-24
Added:
Fixed:
v1.4.0Compare 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 foundwith pretty formatter, whenwriting non compliant extended output (#412)
$BATS_RUN_TMPDIRwith--no-tempdir-cleanupand dockerby using
mktempadditionally to PID (#409)rm semaphores/slot-: No such file or directoryin parallel mode on MacOS(#434, #433)
...instead of---to starta block (#442)
/codeexists in docker container, to make examples work again (#440)v1.3.0Compare Source
Bats 1.3.0
Released: 2021-03-08
Added:
BATS_FILE_EXTENSIONwhen searching for testfiles in a directory (#376)
Documentation
run(#343)load(#332)Changed:
--report-formatterand (stdout)--formatter(#345)--formatter junit.stdout will now show unified xml instead of TAP. From now on, please use
--report-formatter junitto obtain the.xmlreport file!--parallel-preserve-environmentflag, as this is the defaultbehavior (#324)
--no-tempdir-cleanupisspecified (#395)
Documentation
Fixed:
Correctness
set -u(#392)$PATHin test files (#387)BATS_TEST_NUMBERcount per file again (#326)lib/in npm package (#352)Performance
Documentation
--formatter junit(#334)setup_filevariables (#333)v1.2.1: Bats 1.2.1Compare Source
Released: 2020-07-06
Added:
loadfunction now reads from absolute and relative paths, and $PATH (#282)bats-filefork contributed tobats-core/bats-file(#276)Changed:
ncursesto 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.