iiwish/dsh-testkit
Docker-isolated real-host lifecycle tests for DSH plugins across install, boot, tool registration, update, uninstall, reinstall, and recovery, with structured evidence.
DSH Testkit is a real-host release gate for DeepSeek Harness plugins: it tests the artifact a user actually installs (npm pack output) against an exact, real DSH host and keeps reviewable evidence. One isolated run answers three release questions: does the publishable artifact install and register (bundle assembly, config rows, services, tool schemas), does its promised behavior work (deterministic runtime probes, declared tool calls, optional loopback HTTP routes, explicit browser smoke), and can a user remove it cleanly (uninstall, same-profile reboot, capability checks, owned-path residue, processes, ports). Reports land under .dsh-testkit/runs/ as report.json, junit.xml and readable report.md. dsh-test init generates a config, a read-only CI workflow and a SKILL.md for coding agents; it works offline and is byte-idempotent.
Install
dsh plugin --profile web add dsh-testkit@0.4.1npm dsh-testkit 0.4.1 verified 2026-09-03 (repository field → github.com/iiwish/dsh-testkit; README EN primary with 简体中文 edition). Used as a devDependency in a plugin repo: pnpm add -D dsh-testkit, then pnpm dsh-test init + pnpm dsh-test. It is a maintainer/release-gate tool for DSH plugin authors, not an end-user plugin. Requirements: Node 22+ and Docker (default runner).
Compatibility
Plugin maintainer tool: Node.js 22+, Docker as the default runner; tests the publishable artifact against an exact real DSH host version; no model calls and no API key.
Details
- Repo: iiwish/dsh-testkit
- Category: Development & Runtime
- Stars: 0
- Version: npm dsh-testkit 0.4.1
- Last push: 2026-09-19
- First seen: 2026-08-15
Recent updates
0.4.1 current on npm (verified 2026-09-03).
FAQ
- Who is this for?
- DSH plugin maintainers, release-PR reviewers, template operators — anyone who needs proof an artifact installs, registers and uninstalls cleanly on a real host before shipping.
- Does it call a model?
- No — it makes no model call and needs no model API key; it runs deterministic probes against a real DSH host in Docker.
- How does it differ from dsh-plugin-doctor?
- Doctor is a CLI audit (manifest, risky-behavior scan, temp-home boot test); Testkit is an artifact-level release gate that installs the packed tarball into an exact host and verifies install → behavior → clean uninstall.
Alternatives
Xrainsmile/DSH-Plugin-Doctor · boomzikazita/dsh-skill-authoring