bats-testing-patterns
Originally fromwshobson/agents
Installation
SKILL.md
Bats Testing Patterns
Comprehensive guidance for writing comprehensive unit tests for shell scripts using Bats (Bash Automated Testing System), including test patterns, fixtures, and best practices for production-grade shell testing.
Use this skill when
- Writing unit tests for shell scripts
- Implementing TDD for scripts
- Setting up automated testing in CI/CD pipelines
- Testing edge cases and error conditions
- Validating behavior across shell environments
Do not use this skill when
- The project does not use shell scripts
- You need integration tests beyond shell behavior
- The goal is only linting or formatting
Instructions
Related skills
More from rmyndharis/antigravity-skills
unity-developer
Build Unity games with optimized C# scripts, efficient rendering,
1.4Kdotnet-architect
Expert .NET backend architect specializing in C#, ASP.NET Core,
265java-pro
Master Java 21+ with modern features like virtual threads, pattern
150backend-architect
Expert backend architect specializing in scalable API design,
102ios-developer
Develop native iOS applications with Swift/SwiftUI. Masters iOS 18,
95frontend-developer
Build React components, implement responsive layouts, and handle
90