gotests makes writing Go tests easy. It's a Golang command line tool that generates table-driven tests based on its target source files' function and method signatures. Any new dependencies in the test files are automatically imported. From the commandline, gotests can generate Go tests for specific source files or an entire directory. By default, it prints its output to stdout.

Features

  • Minimum Go version: Go 1.6
  • gotests makes writing Go tests easy
  • It's a Golang commandline tool that generates table driven tests
  • Any new dependencies in the test files are automatically imported
  • From the commandline, gotests can generate Go tests for specific source files
  • gotests is released under the Apache 2.0 License

Project Samples

Project Activity

See All Activity >