Libraries tagged by test mock
oldtimeguitarguy/laravel-mocks-file-uploads
404 Downloads
A simple trait to add to your Laravel tests to mock file uploads
mangoweb/tester-http-mocks
138378 Downloads
crimsonkissaki/mockmaker
49 Downloads
Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.
granam/test-with-mockery
519 Downloads
Mockery test helper ensuring mocked method exists
pluf/test
5519 Downloads
A pluf mock object and test utilities
4yousee/adyen-lib-with-mock
4426 Downloads
A PHP client library for accessing Adyen APIs with mock for integration test
xalaida/pdo-mock
11 Downloads
Library for mocking database interactions in unit tests.
tumtum/mock-extern-service
580 Downloads
To mock service like mail or UDP socket for functional Tests. TDD, PHPUnit
jsiefer/mage-mock
101 Downloads
Mock the Magento Framework
jsiefer/class-mocker
173 Downloads
Can mock entire frameworks or namespaces
joshmoody/mock-data
243 Downloads
Generate realistic test data.
eventjet/test-double
64 Downloads
Reusable PSR-compliant test doubles for HTTP clients, loggers, and SOAP clients
emmo00/mock-paystack-laravel
120 Downloads
PHP package for mocking Paystack responses and webhooks in your Laravel Test suite
creativestyle/app-http-server-mock
2452 Downloads
An minimal app http server based on PHP cli-server for use in tests
americanreading/view-mock
3302 Downloads
Test double for View