bash-testing
Installation
SKILL.md
Bash Testing
Testing frameworks and patterns for shell scripts, focusing on shunit2 and shellspec.
Framework Selection
| Framework | Strengths | Best For |
|---|---|---|
| shunit2 | xUnit style, simple, portable | Unit tests, function testing |
| shellspec | BDD style, modern, extensive | Behavior specs, full projects |
shunit2
Installation
# Download directly
curl -L https://github.com/kward/shunit2/raw/master/shunit2 -o shunit2