Directory for Temporary Suite Files

$BATS_SUITE_TMPDIR is the path to the temporary directory common to all test of a suite.

Examples

Print directory path :

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