Function Name of Test
$BATS_TEST_NAME
is the name of the function containing the current test case.
Links
Examples
Print name of current test function :
|
|
BashSupport Pro is a Bash IDE with support for $BATS_TEST_NAME – try it now!
$BATS_TEST_NAME
is the name of the function containing the current test case.
Print name of current test function :
|
|