Libraries tagged by mock objects

crimsonkissaki/mockmaker

4 Favers
44 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.

Go to Download


pdo-proxy/pdo-proxy

7 Favers
26 Downloads

PDO Proxy is a simple, event-driven PDO wrapper that allows to intercept and alter execution of all PDO methods. The PDOProxy\PDO and PDOProxy\PDOStatement classes extend the native PDO and PDOStatement classes, therefore they are compatible with any method expecting regular PDO objects.

Go to Download


alaneor/ldap

4 Favers
61 Downloads

A simple class encapsulation of php's ldap functions

Go to Download


zeus/mock

3 Favers
14 Downloads

This library allows you to create mock objects.

Go to Download


silencedis/phpunit-mock-helper

0 Favers
1357 Downloads

A convenient helper for creating mock objects for phpunit. The helper uses the phpunit's mock builder. But it allows to create a mock object in one step using simple configuration.

Go to Download


shadiakiki1986/ffa-php-mock

0 Favers
28 Downloads

Mock objects of ffa-php-core for development and testing

Go to Download


megao-phpunit/phpunit-mock-objects

0 Favers
12 Downloads

Mock Object library for PHPUnit

Go to Download


johnshopkins/mock-object

0 Favers
11 Downloads

A library that helps to create mock objects in PHPUnit

Go to Download


jervdesign/php-unit-mock

1 Favers
774 Downloads

Base Class for creating reusable PHPUnit Mock Objects

Go to Download


openmage-module-fostering/zookal_mock

0 Favers
3 Downloads

Transparent auto detecting of disabled core modules & exten. Providing mock objects for not breaking Magento.

Go to Download


apie/mock-objects

0 Favers
6 Downloads

Composer package of the apie library: mock objects

Go to Download


mf1dd/object-builder

0 Favers
1 Downloads

Automatically creates fully populated PHP object instances with random, type-safe values. Designed for test fixtures and runtime object generation. Supports all PHP class types — regular classes, readonly classes, abstract classes, enums, traits, interfaces, and built-in stock classes like DateInterval or ArrayObject. Recursively resolves nested object graphs, detects property names for semantically meaningful values (timezone, email, firstname …), and offers constraint-based value ranges via a fluent API. No framework required; zero runtime dependencies beyond nikic/php-parser. PHP 8.2+.

Go to Download


rtablada/model-mockers

0 Favers
13 Downloads

A wrapper that allows for wicked fast mocking of Eloquent Models

Go to Download


pedrohenrique-conectala/teste01

0 Favers
3 Downloads

Go to Download


feedtailor/mocking-property-modifier

0 Favers
103 Downloads

A property modifier for Mock object.

Go to Download


<< Previous Next >>