A utility that let's you generate a main program with corresponding tests and benchmarks
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
covermain.go
covermain_test.go
templates.go

README.md

Build Status Coverage Status Go Report Card GoDoc MIT licensed

covermain

A utility that let's you generate a main program with corresponding tests and benchmarks

go get github.com/vaskoz/covermain

Run with the following:

covermain NameOfSomeProject

This produces 2 files:

name_of_some_project/name_of_some_project.go
name_of_some_project/name_of_some_project_test.go