Use this skill when the user wants to use 100-exercises-to-learn-rust.
中文简介正在准备中。当前显示原文说明。
Use this skill when the user wants to write or run Bash shell tests — TAP-compliant test suites, CI integration, mocking, and parallel test execution.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Bash Automated Testing System. Write unit and integration tests for shell scripts with readable syntax, TAP output, and first-class CI support.
bats <resource> <action> — Execute bats commandsbats test run — Run a bats test file or test suitebats _ _ — Passthrough to bats CLInpm install -g bats
# or
brew install bats-core
# Debian/Ubuntu: apt install bats
# Run a single test file
bats test/example.bats
# Run all tests in a directory
bats test/
# Count tests without running
bats --count test/
# Filter tests by name pattern
bats --filter "login" test/
# Parallel execution
bats --jobs 4 test/
# TAP output for CI
bats --tap test/
# JUnit XML for reporting
bats --formatter junit test/ > report.xml
# example.bats
@test "addition works" {
result=$(echo $((2 + 2)))
[ "$result" -eq 4 ]
}
sc bats test run test/example.bats
sc bats _ _ --filter "auth" test/
sc plugins learn bats
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use this skill when the user wants to use 100-exercises-to-learn-rust.
中文简介正在准备中。当前显示原文说明。
Use this skill when the user wants to use 2to3, cli tool: 2to3.
中文简介正在准备中。当前显示原文说明。
Use this skill when the user wants to use 2to3-2.7, cli tool: 2to3-2.7.
中文简介正在准备中。当前显示原文说明。
Use this skill when the user wants to use 2to3-3.11, cli tool: 2to3-3.11.
中文简介正在准备中。当前显示原文说明。
Use this skill when the user wants to use 411toppm, cli tool: 411toppm.
中文简介正在准备中。当前显示原文说明。
Use this skill when the user wants to use 53AIHub.
中文简介正在准备中。当前显示原文说明。