$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 是一款shell 脚本集成开发环境,支持 bats-core 的 $BATS_FILE_EXTENSION - 立即试用!