bats
Bash Automated Testing System: a TAP (https://testanything.org/) compliant testing framework for Bash. More information: https://bats-core.readthedocs.io/en/stable/usage.html.
- Run a BATS test script and output results in the TAP (Test Anything Protocol) format:
bats
- Count test cases of a test script without running any tests:
bats
- Run BATS test cases recursively (files with a
.batsextension):
bats
- Output results in a specific format:
bats
- Add timing information to tests:
bats
- Run specific number of jobs in parallel (requires GNU
parallelto be installed):
bats
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
