소개
This skill provides comprehensive guidance for implementing the Bash Automated Testing System (Bats) to ensure the reliability and maintainability of shell scripts. It covers foundational patterns including TAP-compliant assertions, setup/teardown routines, and advanced techniques like command mocking and environment stubbing. Designed for developers and DevOps engineers, it facilitates the transition of shell scripts from fragile utilities to stable, test-driven components suitable for production-grade CI/CD pipelines.