cweill/gotests
Automatically generate Go test boilerplate from your source code. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 49
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 3879
- days_rel: 309
- days_push: 307
- n_releases_24m: 7
Adoption not part of the score
5330 stars · 351 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
gotests is a Go command-line tool that automatically generates table-driven test boilerplate from source code by analyzing function and method signatures. It supports generics, custom templates (including testify), and integrates with editors like VS Code, GoLand, Vim, and Emacs.
Use cases
- generate go test boilerplate for my functions
- create table-driven tests automatically in go
- scaffold unit tests from function signatures
- generate test files for an entire go package
- generate testify-style tests for go code
- avoid writing repetitive test stubs by hand
When to choose
- you write Go and want to skip repetitive test scaffolding
- you want consistent table-driven test structure across a codebase
- you use an editor plugin workflow for generating tests on demand
When to avoid
- you need fully written assertions and test logic, not just scaffolding
- your project is not in Go
- you prefer behavior/property-based test generation tools
Facets
cli-tool · maturity active
testing cli developer-tools testing developer-tools programming-languages go cli cross-platform test-generation table-driven-tests go-testing boilerplate-generator editor-plugins code-generation
1 source
- readme: https://github.com/cweill/gotests · fetched 2026-08-28 · 5b6ad2689ad7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cweill/gotests | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem