$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 is a shell script IDE with support for bats-core’s $BATS_RUN_TMPDIR – try it now!