在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用test-runner
星标4
分支0
更新时间2026年2月17日 16:08
Run BATS tests for changed shell scripts
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Run BATS tests for changed shell scripts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | test-runner |
| description | Run BATS tests for changed shell scripts |
When shell scripts in the dotfiles repository are modified, run the relevant BATS tests to ensure changes don't break functionality.
/test-runner [test-file]
If no test file specified, determine which tests to run based on recent changes.
Map source files to their corresponding test files:
install/lib/cache.sh → install/tests/test-cache.batsinstall/lib/verification.sh → install/tests/test-verification.batsinstall/lib/backend-mise.sh → install/tests/test-backend-mise.batsinstall/lib/backend-homebrew.sh → install/tests/test-backend-homebrew.batsinstall/lib/backend-apt.sh → install/tests/test-backend-apt.batsinstall/lib/backend-ppa.sh → install/tests/test-backend-ppa.batsinstall/lib/manifest-parser.sh → install/tests/test-manifest-parser.batsinstall/packages-manifest.sh → install/tests/test-schema-validation.batsinstall/*.sh changes → install/tests/test-integration.batsmake -f test.mk test (full suite) or bats <specific-test-file> (single test)After editing cache.sh:
bats install/tests/test-cache.bats
After editing multiple install scripts:
make -f test.mk test
Run specific test:
bats install/tests/test-integration.bats
make -f test.mk test