关于
This skill provides comprehensive patterns and best practices for implementing Test-Driven Development (TDD) in shell scripting using the Bats framework. It equips developers with standardized methods for exit code validation, output matching, file system assertions, and complex mocking of external commands. By leveraging these patterns, users can ensure their shell automation scripts are reliable, maintainable, and fully compatible with modern CI/CD pipelines across different shell dialects like Bash, Sh, and Dash.