Skip to content
Search

Bats

lastmod 2026-11-10created 2021-11-052 edits

Bats (Bash Automated Testing System) is a TAP-compliant testing framework for testing Bash scripts and command-line tools. Tests are written as @test blocks in .bats files, run with the run command, and then checked against $status and $output. After the original author stopped maintaining it, the community took it over and continues development as bats-core.

Bats-core: Bash Automated Testing System (2018)

See also

Favorite site

author Zer0, MCPBot sitemap