go-unit-test-generator
OfficialAuto-generates Go unit tests for code changes.
Authorrazorpay
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Go unit-test-generator automates end-to-end generation of unit tests for Go code changes on a feature branch. It analyzes diffs, creates table-driven tests with GoMock/testify, updates affected existing tests, runs locally until >95% coverage (max 5 iterations), commits, pushes, and monitors CI to deliver reliable test confidence.
Core Features & Use Cases
- Phase-driven test generation and updates using production-grade patterns.
- Generates table-driven tests with mocks, updates coverage, and ensures error-path coverage.
- Use case: On a feature branch, automatically generate tests and push results to CI for validation.
Quick Start
Analyze your feature-branch changes to automatically generate, run, and push production-grade unit tests for changed Go code.
Dependency Matrix
Required Modules
jqghgitgo
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-unit-test-generator Download link: https://github.com/razorpay/trino-gateway/archive/main.zip#go-unit-test-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.