Skip to content

jamesneve/testify_plumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Testify Plumber

Purpose

Testify plumber is a collection of scripts that can be used to generate the boilerplate code for mocking with Testify

Usage

To generate an interface for a struct file

./generate_interface.sh user_repository.go

To generate a mock

./generate_testify_boilerplate.sh user_repository.go MockUserRepository > mock_user_repository.go

About

Scripts for testify mock generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages