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 >

License

Apache License V2.0

Follow gotests

gotests Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gotests!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Software Testing Tool, Go Command Line Tools

Registered

2023-01-10