bats-core脚本变量
BashSupport Pro支持的所有bats-core变量列表。
- $BATS_FILE_EXTENSION
- $BATS_FILE_TMPDIR
- $BATS_RUN_COMMAND
- $BATS_RUN_TMPDIR
- $BATS_SUITE_TEST_NUMBER
- $BATS_SUITE_TMPDIR
- $BATS_TEST_DESCRIPTION
- $BATS_TEST_DIRNAME
- $BATS_TEST_FILENAME
- $BATS_TEST_NAME
- $BATS_TEST_NAME_PREFIX
- $BATS_TEST_NAMES
- $BATS_TEST_NUMBER
- $BATS_TEST_RETRIES
- $BATS_TEST_TIMEOUT
- $BATS_TEST_TMPDIR
- $BATS_TMPDIR
- $BATS_VERSION
- $lines
- $output
- $status
- $stderr
- $stderr_lines