gentest

command module
v0.0.0-...-394ee82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 15 Imported by: 0

README

gentest generates test funcs for implementing an interface.

go get -u github.com/ikeikeikeike/gentest

Sample usage:

$ gentest 'f *File' io.ReadWriteCloser
// not implemented
func TestRead(t *testing.T) {}

// not implemented
func TestWrite(t *testing.T) {}

// not implemented
func TestClose(t *testing.T) {}

Documentation

Overview

impl generates method stubs for implementing an interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL