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
-
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_RETRIES
that specifies how often a test should bereattempted before it is considered failed (Add BATS_TEST_RETRIES #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
) (Fix docker: bats not found #622)BATS_TEST_TIMEOUT
variable 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_file
in wrong file (.bats
instead 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 UXload
inteardown
marking failed tests as not run (Fix load in teardown after failure exits test #612)teardown_file
errors don't swallowsetup_file
errors anymore, the behavioris more like
teardown
's now (onlyreturn
/last command can triggerteardown
errors) (Don't let teardown_file errors eat setup_file errors #623)
(18.04 -> 22.04) (Update github runner images #630)
/usr/lib/bats
as default value forBATS_LIB_PATH
(Add default path for 'BATS_LIB_PATH' environment variable' #628)bats-formatter-junit
whensetup_file
fails (Fix unset variable in bats-format-junit when setup_file fails #632)teardown
/teardown_file
/teardown_suite
functions:only fail via return code, not via ERREXIT (Sync teardown_suite midway error behavior with other teardowns #633)
set -u
onsetup_suite
failures (Fix further unbound variable errors #643)load
not being available insetup_suite
(Fix load not being available in setup_suite #644)IFS
byrun
(Fix a problem thatrun
always 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