Add genmock (mocking with code generator)

This commit is contained in:
Daniil Literate 2021-09-12 14:22:46 +03:00 committed by Avelino
parent 7f55de44bd
commit e89e264254

View File

@ -1969,6 +1969,7 @@ _**Unofficial** set of patterns for structuring projects._
* Mock
* [counterfeiter](https://github.com/maxbrunsfeld/counterfeiter) - Tool for generating self-contained mock objects.
* [genmock](https://gitlab.com/so_literate/genmock) - Go mocking system with code generator for building calls of the interface methods.
* [go-localstack](https://github.com/elgohr/go-localstack) - Tool for using localstack in AWS testing.
* [go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) - Mock SQL driver for testing database interactions.
* [go-txdb](https://github.com/DATA-DOG/go-txdb) - Single transaction based database driver mainly for testing purposes.