Repository navigation
v0.1.0 — Go, Java and Python unit testing
testgen-unit v0.1.0
Initial source release of a provider-neutral CLI and coding-agent skill for Go, Java and Python unit testing.
- Discover projects, establish a baseline, emit scoped prompts, validate tests, measure coverage and review changes.
- Install the bundled skill into agent-compatible, Claude and OpenCode project directories.
- Use an existing coding agent, a local Ollama model, or a compatible API for test suggestions.
- Run without npm runtime dependencies, private services, Bash or jq in the CLI.
- Includes public Go, Maven, Gradle and Python examples, CI, local setup instructions and MIT licensing.
Validation includes 28 regression tests and real language examples. A local Qwen 2.5 Coder smoke test raised coverage by at least 10 percentage points in three small, deliberately partial demo suites; the report documents required corrections. These results are not production-repository benchmarks.
Direct model generation returns unvalidated suggestions; a coding agent or user applies them and runs checks. Review is heuristic. Java coverage requires existing JaCoCo XML configuration.
Install the downloadable package (Node.js 22+):
npm install -g https://github.com/iamvinay92/testgen-unit/releases/download/v0.1.0/testgen-unit-0.1.0.tgz
testgen-unit --versionSee the main-branch README for the current quick start and a writable-prefix installation. npm registry publication is separate from this GitHub source release.