v1.8.0 #653
martin-schulze-vireso
announced in
Announcements
v1.8.0
#653
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bats 1.8.0
Released: 2022-09-15
Added:
--formatter <absolute path>(also works for--report-formatter) (Allow specifiyng external formatter via absolute path #602)--filter-status failed(Add --filter-status failed for running only failed tests from the last completed run #483)BATS_TEST_RETRIESthat specifies how often a test should bereattempted before it is considered failed (Add BATS_TEST_RETRIES #618)
latest-no-faccessat2and<bats-version\>-no-faccessat2foravoiding
bash: bats: No such file or directoryondocker<20.10(orrunc<v1.0.0-rc93) (Fix docker: bats not found #622)BATS_TEST_TIMEOUTvariable to force a timeout on test (includingsetup()) (Add timeout support #491)$stderr(fromrun --separate-stderr) with--print-output-on-failure(Also print $stderr (fromrun --separate-stderr) for--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 (Tagging tests #642)setup_filein wrong file (.batsinstead ofsetup_suite.bash) (Fix lacking documentation of setup_suite #652)Documentation
run !on Batsversions >=1.5.0 (docs/gotchas: Update recommendation for negative statements #593)
bats_require_minimum_version(Document bats_require_minimum_version #595)setup_file(Fix lacking documentation of setup_suite #652)Fixed:
run -<N>being incorrectly documented asrun =<N>(Fix additional leftover instances of run =<N> #599)--gather-test-outputs-in <directory>to work with existing, emptydirectories (Allow empty directories for
--gather-test-outputs-in#603)--clean-and-gather-test-outputs-in <directory>for improved UXloadinteardownmarking failed tests as not run (Fix load in teardown after failure exits test #612)teardown_fileerrors don't swallowsetup_fileerrors anymore, the behavioris more like
teardown's now (onlyreturn/last command can triggerteardownerrors) (Don't let teardown_file errors eat setup_file errors #623)
(18.04 -> 22.04) (Update github runner images #630)
/usr/lib/batsas default value forBATS_LIB_PATH(Add default path for 'BATS_LIB_PATH' environment variable' #628)bats-formatter-junitwhensetup_filefails (Fix unset variable in bats-format-junit when setup_file fails #632)teardown/teardown_file/teardown_suitefunctions:only fail via return code, not via ERREXIT (Sync teardown_suite midway error behavior with other teardowns #633)
set -uonsetup_suitefailures (Fix further unbound variable errors #643)loadnot being available insetup_suite(Fix load not being available in setup_suite #644)IFSbyrun(Fix a problem thatrunalways fails withIFS=_#650)setup_file's stderr on errors (Only print setup_suite's stdout/err on errors #649)Documentation
This discussion was created from the release v1.8.0.
Beta Was this translation helpful? Give feedback.
All reactions