Add monkey

This commit is contained in:
awterman 2023-07-17 21:29:31 +08:00 committed by Avelino
parent 28be36de7b
commit ad7785bad1

View File

@ -2322,6 +2322,7 @@ _Libraries for testing codebases and generating test data._
- [mockery](https://github.com/vektra/mockery) - Tool to generate Go interfaces.
- [mockhttp](https://github.com/tv42/mockhttp) - Mock object for Go http.ResponseWriter.
- [mockit](https://github.com/pasdam/mockit) - Allows functions and method easy mocking, without defining new types; it's similar to Mockito for Java.
- [monkey](https://github.com/awterman/monkey) - One line to mock functions/methods/variables in place without dependency injection or code generation.
- [mooncake](https://github.com/GuilhermeCaruso/mooncake) - A simple way to generate mocks for multiple purposes
- [timex](https://github.com/cabify/timex) - A test-friendly replacement for the native `time` package.