
TestingGuide
Testing Shell Scripts With Bats and ShellCheck in Practice
Test shell scripts with Bats and ShellCheck: write tests, mock commands, test functions, run in CI and containers, and catch quoting bugs before they ship.
36 min read
Bats, ShellCheck and plain assertions for scripts and code, so a change does not need a prayer.

Test shell scripts with Bats and ShellCheck: write tests, mock commands, test functions, run in CI and containers, and catch quoting bugs before they ship.
One email when a new post is published. No spam.