关于
This skill empowers developers to implement robust, automated testing for shell scripts by leveraging the Bash Automated Testing System (Bats). It provides expert guidance on structuring test files, managing fixtures, mocking external commands, and validating exit codes or output across different shell environments like Bash, sh, and dash. Whether you are building complex CI/CD pipelines or simple utility scripts, this skill ensures your shell code is maintainable, portable, and bug-free through proven test-driven development (TDD) patterns and standardized fixture management.