Parent Directory of The Test File
$BATS_TEST_DIRNAME
is the path to the directory containing the current bats test file
Links
Examples
Print parent directory path :
|
|
BashSupport Pro is a Bash IDE with support for $BATS_TEST_DIRNAME – try it now!
$BATS_TEST_DIRNAME
is the path to the directory containing the current bats test file
Print parent directory path :
|
|