소개
This skill provides comprehensive guidance for implementing the Bash Automated Testing System (Bats) to ensure the reliability and maintainability of shell scripts. It covers everything from fundamental test structures to advanced assertion patterns for exit codes, string outputs, and file system states. By utilizing sophisticated mocking techniques and fixture management, developers can implement test-driven development (TDD) for shell utilities, validate behavior across different shell dialects like bash and dash, and seamlessly integrate automated testing into modern DevOps workflows.