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_EXTENSION – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal