AptLynx

Command-line tool

bats

npm/bats

Checked 25 Oct 2026, 21:11 UTC · Still published on npm

Bash Automated Testing System bats bash shell test unit

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:11 UTC

Install it

Windows

npm install -g bats

macOS

npm install -g bats

Linux

npm install -g bats

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

bats -t path/to/test.bats

Count test cases of a test script without running any tests

bats -c path/to/test.bats

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

bats -r path/to/directory

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents