CmdID

CmdID / Commands

bats

Bash Automated Testing System: a TAP (<https://testanything.org/>) compliant testing framework for Bash. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a BATS test script and output results in the TAP (Test Anything Protocol) format

bats --tap path/to/test.batsIdentify

Count test cases of a test script without running any tests

bats --count path/to/test.batsIdentify

Run BATS test cases recursively (files with a .bats extension)

bats --recursive path/to/directoryIdentify

Output results in a specific format

bats --formatter pretty path/to/test.batsIdentify

Add timing information to tests

bats --timing path/to/test.batsIdentify

Run specific number of jobs in parallel (requires GNU parallel to be installed)

bats --jobs number path/to/test.batsIdentify