Our great sponsors
-
I like the way of matryer/moq a lot. Basically, it generates a func for each of the methods of an interface, therefore the behaviour is clear to everyone without too much abstraction.
-
In our company projects we use https://github.com/gojuno/minimock for units
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
Another alternative to use would be counterfeiter, it generates a type from your interface that could be used as a mock, stub or spy. I wrote a short post covering that tool if you're interested.
-
I use mockery to generate mocks based on my interfaces: https://github.com/vektra/mockery
-
I’m a fan of https://github.com/stretchr/testify