$BATS_FILE_EXTENSION: Test File Extension

$BATS_FILE_EXTENSION specifies the extension of test files that should be found when running a test suite.

Examples

Print extension
1
2
3
@test "Example" {
  echo "Extension: $BATS_FILE_EXTENSION" >&3
}
BashSupport Pro is a Bash IDE with support for $BATS_FILE_EXTENSIONtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal