dsh-test-runner
DSH 插件:结构化测试运行工具 (test_run) — 自动检测 vitest/jest/pytest/node:test,运行测试,为模型解析失败摘要。
DSH plugin: structured test runner tool (test_run) — auto-detect vitest/jest/pytest/node:test, run tests, parse failure summaries for the model.
怎么安装
dsh plugin add github:suimi8/dsh-test-runner 简介
dsh-test-runner DeepSeek Harness 插件:结构化测试运行工具 **test_run**。 让 agent 用一次工具调用完成「改代码 → 跑测试 → 修」闭环:自动探测测试框架、执行测试、**只返回结构化摘要**(通过/失败统计 + 失败用例名称与错误信息 + 输出尾部),避免模型阅读整段原始测试输出(省 token、少一轮)。 功能 | 能力 | 说明 | |---|---| | 框架自动探测 | package.json 的 vitest/jest 依赖 → vitest/jest;scripts.test → npm-test;pyproject.toml/pytest.ini/conftest.py → pytest;test/ 目录或 *.test.* 文件 → node(node:test) | | 目标过滤 | target 指定文件/目录/用例模式(如 tests/test_api.py::test_login),多个目标空格分隔 | | 失败摘要 | 每个失败用例提取名称 + 错误信息(vitest ×/→、jest ●、pytest FAILED、node:test TAP not ok + error: 块) | | 只重跑失败 | last_failed → vitest --lastFailed / jest --onlyFa…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 2
- 月下载
- –
- 最近更新
- 2026-08-13
- 创建于
- 2026-08-13
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:0xsline/awesome-deepseek-harness
- 主题标签
- cordis, deepseek-harness, dsh-plugin, test-runner, testing