dsh-test-runner
Run the following command in DeepSeek Harness:
dsh plugin install suimi8/dsh-test-runner
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install suimi8/dsh-test-runner in your DeepSeek Harness terminal to install the plugin; source code is available at https://github.com/suimi8/dsh-test-runner
About this plugin
When an agent runs tests through bash, it must read hundreds of lines of raw output token by token, inflating context and adding extra rounds. dsh-test-runner collapses that loop into a single structured tool call: it auto-detects the project test framework (vitest, jest, pytest, node:test, etc.), executes the tests, and returns only a pass/fail summary with failing case names, key error messages, and a tail of output — so the model can decide its next fix without wading through the full log.
Beyond auto-detection, the plugin supports file- or test-case-level targeting (e.g. tests/test_api.py::test_login), a one-flag rerun of only the previously failed cases, full command override (pnpm vitest run, python -m pytest -x -q), timeout enforcement, and sandbox-policy passthrough. The failure parser includes a graceful-degradation path: if a framework changes its output format, the tool does not crash — it simply falls back to exitCode plus output tail, no worse than running bash directly.
Built for developers assembling a code-change → test → fix automation loop in DeepSeek Harness. If your agent repeatedly runs tests, reads results, and pinpoints failures, this plugin compresses each test cycle into one clean JSON call, cutting token spend and interaction rounds.
Use Cases
- Agent needs to run tests and read results after a code change
- Model repeatedly runs tests via bash and parses verbose raw output
- Rerun only previously failed test cases to save wall-clock time
Best For
- Developers building a change-test-fix loop in DeepSeek Harness
- Workflow engineers compressing per-cycle token spend for agents
- AI-coding-assistant users working with vitest, jest, or pytest
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.