Path to Directory For Temporary bats Files

$BATS_RUN_TMPDIR is the path to a directory, where bats stores its own temporary files.

Examples

Print directory :

1
2
3
@test "Example" {
  echo "$BATS_RUN_TMPDIR" >&3
}
BashSupport Pro is a Bash IDE with support for $BATS_RUN_TMPDIR – try it now!
© 2020–2022 Joachim Ansorg
Imprint
Privacy Policy
Legal