Function Names of Test Cases
$BATS_TEST_NAMES
is an array of function names. There’s one item for each test defined in the current bats test file.
Links
Examples
Print functions corresponding to your defined tests :
|
|
BashSupport Pro 是一个 支持 $BATS_TEST_NAMES 的 Bash 集成开发工具 – 马上试用!