$BATS_FILE_EXTENSION
–
Test File Extension
$BATS_FILE_EXTENSION
specifies the extension of test files that should be found when running a test suite.
Links
Examples
- Print extension
1 2 3
@test "Example" { echo "Extension: $BATS_FILE_EXTENSION" >&3 }
BashSupport Pro is a shell script IDE with support for bats-core’s $BATS_FILE_EXTENSION – try it now!