php-mock
Function mocking library
A testing library that mocks non-deterministic built-in PHP functions to simplify unit tests
Mock built-in PHP functions (e.g. time(), exec() or rand())
359 stars
11 watching
19 forks
Language: PHP
last commit: over 1 year ago
Linked from 1 awesome list
builtin-functionsmockphp
Related projects:
| Repository | Description | Stars |
|---|---|---|
| | A library for easily replacing parts of existing functions with mock implementations. | 19 |
| | A library for mocking functions in Elixir tests | 656 |
| | A PHP framework for creating mock objects and test doubles to simplify testing of code | 478 |
| | A testing library for mocking components and services in Angular applications. | 1,067 |
| | A PHP library that enables AOP-based mocking and stubbing of static methods and class methods. | 789 |
| | A Swift mocking framework for unit testing with features such as stubbing, mocking, call verification, and argument matching. | 120 |
| | An online service that allows users to generate custom HTTP responses for testing and development purposes. | 2,068 |
| | Allows mocking of HTTP requests in unit tests to enable integration testing with the HTTP side. | 391 |
| | A library that provides a simple way to mock functions in asynchronous Elixir testing | 92 |
| | A library that enables developers to mock HTTP responses and test their applications in isolation. | 491 |
| | A C++ mocking framework inspired by Mockito, providing a simple and lightweight way to mock dependencies in unit testing. | 77 |
| | A library that provides type-safe mocking extensions for testing with Vitest. | 174 |
| | A library that allows you to write mocks and make better tests with Swift | 90 |
| | A dynamic fake object library for .NET, allowing developers to create easy-to-use mock and stub objects. | 1,713 |
| | A library that provides automatic mock creation for unit testing integrations with Stashbox. | 2 |