mocking
Mockery is a project that creates mock implementations of Golang interfaces. It inspects source code and generates implementations of the interface that aid in testing.
In addition to providing a number of different styles of mocks, mockery also allows users to provide their own template files that will then be rendered using a set of template data, methods, and functions that provide comprehensive typing information about the Go interface in question.
GoMock is a mocking framework for the Go programming language.
Go Reference
gomock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other contexts too.
This project originates from Google's golang/mock repo. Unfortunately, Google no longer maintains this project, and given the heavy usage of gomock project within Uber, we've decided to fork and maintain this going forward at Uber.
Thou Shalt Write Tests.
A toolkit with common assertions and mocks that plays nicely with the standard library.
Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend.
Related contents:
Easier than "sacarse los mockos".
Create API mocks collaboratively, fully online and with custom code logic.
A Powerful API Mocking and Testing Tool
A full suite of tools to create and share API contracts, test APIs, mock them, and integrate them with web and mobile apps with ease.
Removes final
and readonly
keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.
Highly opinionated mocking framework for PHP 5.3+.
Prophecy is a highly opinionated yet very powerful and flexible PHP object mocking framework. Though initially it was created to fulfil phpspec2 needs, it is flexible enough to be used inside any testing framework out there with minimal effort.
Moq (pronounced "Mock-you" or just "Mock") is the only mocking library for .NET developed from scratch to take full advantage of .NET Linq expression trees and lambda expressions, which makes it the most productive, type-safe and refactoring-friendly mocking library available.