$BATS_VERSION
–
Version of bats-core
$BATS_VERSION
contains the version of bats-core running the tests.
BashSupport Pro bundles bats-core with an additional formatter to integrate with the IDE’s test runner.
Links
Examples
- Print version of bats-core
1 2 3
@test "Example" { echo "$BATS_VERSION" >&3 }
BashSupport Pro is a shell script IDE with support for bats-core’s $BATS_VERSION – try it now!