github.com/bewica/mockargs


Install
go get github.com/bewica/mockargs

Documentation

Mockargs

Mockargs is a package that provides convenience functions for testing. It enables asserting equality around the arguments passed into any Mocked functions in your tests.

Relies on reflect & go-cmp but provides some convenience wrappers around it and also ignores Func types if they're both != nil.

TODOs