DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-testgen

DeepSeek Harness plugin that generates, runs, and iteratively fixes unit tests through a /testgen command and generate_tests tool.

UI & ProductivityTerminal & TUIDeveloper ToolsSkills & Workflows

Install

$ dsh plugin --profile web add github:bujue600-arch/dsh-testgen

Repository Intelligence

AI-assisted, source-grounded explanation based on the public repository snapshot. It does not replace compatibility or security verification.

source-grounded
dsh-testgen is an installable DeepSeek Harness plugin for automated unit-test generation. It provides a slash command and agent-callable tool, detects supported test runners, generates tests with an LLM or deterministic templates, runs them, and performs a bounded fix loop on generated test files.

Key Capabilities

  • Adds the /testgen command for generating tests from files or globs.
  • Exposes a structured generate_tests tool for agents.
  • Supports LLM-based test generation when an LLM adapter is available.
  • Provides deterministic structural smoke-test generation without an API key.
  • Autodetects Vitest, Jest, Mocha, or falls back to node --test.
  • Runs a bounded generate → run → fix loop and reports results.
  • Avoids overwriting existing test files and only rewrites files it generated.
  • Supports hot-reloaded configuration under the testgen settings key.

Useful For

  • Generate tests for newly written TypeScript or JavaScript source files.
  • Let a DeepSeek Harness agent create and validate tests after code changes.
  • Create offline structural smoke tests when no LLM adapter is available.
  • Run a bounded test-repair loop for generated tests that initially fail.
  • Generate machine-readable test reports with the --json option.

Who It Fits

  • DeepSeek Harness users developing JavaScript or TypeScript projects.
  • Coding-agent users who want agent-accessible test generation.
  • Teams using Vitest, Jest, Mocha, or Node's built-in test runner.

Documented Limitations

  • Requires Node.js 22 or later and the DeepSeek Harness CLI.
  • The fix loop is bounded by maxIterations and can still finish with a failed report.
  • Existing test files are skipped rather than overwritten.
  • Without an LLM adapter, generated tests are deterministic structural smoke tests rather than LLM-authored behavioral tests.
  • TypeScript targets with node --test require an ESM project; JSX targets require Vitest or Jest.
  • Test execution uses the project's configured or detected runner and is subject to the configured per-run timeout.

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 2 runtime, 15 development, 5 peer, and 0 optional dependencies.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
License Declared

GitHub reports the repository license as MIT.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info
Dependency Counts

package.json declares 2 runtime, 15 development, 5 peer, and 0 optional dependencies.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
License Declared

GitHub reports the repository license as MIT.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info
Dependency Counts

package.json declares 2 runtime, 15 development, 5 peer, and 0 optional dependencies.

info
Prepare Script Detected

package.json declares a prepare lifecycle script that may run during relevant package installation workflows.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
License Declared

GitHub reports the repository license as MIT.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Traceable source and registry metadata for this entry, kept separate from runtime verification.

Source repository
bujue600-arch/dsh-testgen
Registry source
Public GitHub repository
Source snapshot
20f928a61310
Artifact type
plugin
AI enrichment
gpt-5.6-terra · 2026-08-14
Prompt version
dsh-plugin-enrichment-v3

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
3
Forks
0
Open issues
0
Last commit
2026-08-14
Last release
2026-08-14