DEV Community

loading...

Discussion on: How I mock unit tests in Golang

Collapse
jumanjii profile image
Allan Jacquet-Cretides

Nice article!

Just sharing but at some point with a codebase that became bigger and bigger, a really nice tools to automatically generate mock for your interfaces is github.com/vektra/mockery.

You should try to play with it :-)

Collapse
chseki profile image
Christian Seki Author

I think you are absolutely right, I will take a look at this tool soon, thanks !