AspectMock

Mocking library

A PHP library that enables AOP-based mocking and stubbing of static methods and class methods.

The most powerful and flexible mocking framework for PHPUnit / Codeception.

GitHub

790 stars
38 watching
129 forks
Language: PHP
last commit: 3 months ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
alexliesenfeld/httpmock A library that enables developers to mock HTTP responses and test their applications in isolation. 486
easymock/easymock A Java library for creating mock objects in unit testing 821
appunite/mockery A library that provides a simple way to mock functions in asynchronous Elixir testing 91
dascandy/hippomocks A single-header mocking framework allowing developers to isolate dependencies and test their code in isolation 195
eratio08/vitest-mock-extended A library that provides type-safe mocking extensions for testing with Vitest. 166
php-mock/php-mock A testing library that mocks non-deterministic built-in PHP functions to simplify unit tests 359
devlucky/kakapo A tool for dynamically mocking server behaviors and responses in Swift applications. 759
help-me-mom/ng-mocks A testing library for mocking components and services in Angular applications. 1,060
fakeiteasy/fakeiteasy A dynamic fake object library for .NET, allowing developers to create easy-to-use mock and stub objects. 1,704
florinn/typemoq A mocking library for TypeScript that allows developers to create fake objects and behaviors in their code for testing purposes. 428
jimweirich/flexmock A flexible mock object library for unit testing Ruby applications 94
ferada/cl-mock A library for easily replacing parts of existing functions with mock implementations. 19
jasonbock/rocks A mocking library based on the Compiler APIs (Roslyn + Mocks) to create mock objects for unit testing and verification of virtual methods 257
eranpeer/fakeit A C++ mocking framework for testing and development 1,255
jonreid/ocmockito An Objective-C framework for creating mock objects to test and verify application behavior 991