소개
This skill provides comprehensive guidance and reusable patterns for mastering the Bash Automated Testing System (Bats). It enables developers to implement Test-Driven Development (TDD) for shell utilities, covering essential aspects such as status code assertions, output verification, file system testing, and complex mocking strategies. Whether you are building CI/CD pipelines or maintaining legacy shell scripts, these patterns ensure your scripts remain reliable, maintainable, and portable across different shell environments like bash, sh, and dash.