$BATS_RUN_TMPDIR
: Path to Directory For Temporary bats Files
$BATS_RUN_TMPDIR
is the path to a directory, where bats stores its own temporary files.
Links
Examples
- Print directory
1 2 3
@test "Example" { echo "$BATS_RUN_TMPDIR" >&3 }
BashSupport Pro 是一个 支持 $BATS_RUN_TMPDIR 的 Bash 集成开发工具 – 马上试用!