A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells
MIT License
Bot releases are hidden (Show)
Published by ko1nksm over 4 years ago
This tag points to the latest release.
Parameters
helper)Set
helper for set shell optionBeforeCall
/ AfterCall
helper.BeforeRun
/ AfterRun
helper.hexdump
if od
does not exist.run
evaluation. [major breaking change]
run
of bats.run
evaluation allows the execution of functions and commands.run command
to execute only the commands. (old run
-> use run command
)invoke
evaluation to run
evaluation. (old invoke
-> use run
)execute
evaluation to run
evaluation. (old execute
-> use run source
)execute
evaluation, Intercept
and __SOURCED__
variable).--keep-tempdir
option.Data < <FILE>
syntax.call
/invoke
<STRING>
syntax.--warning-as-failure
option.bosh
, pbosh
).--skip-message none
to --skip-message verbose
.--warnings
option.--list examples:id
option.*_spec.sh:@ID
syntax the specify id with the filename.--pattern
, --example
, --tag
, --default-path
filter option.Logger
Helper to %logger
directive.--list-specfiles
, --list-examples
options to --list
option.