Go table-driven-test Projects
Automatically generate Go test boilerplate from your source code.Project mention: Russ Cox: Go Testing by Example | news.ycombinator.com | 2023-12-05
A huge time-saver for me when generating table-driven test boilerplate in Go has been using gotests to generate the template.
If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".
Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!