Home

mock objects PHP packages

26 PHP Packages found for mock objects | Latest mock objects packages | RSS

mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

  • 7
  • 14327
  • 22362
  • 8440
  • 368

phpunit/phpunit-mock-objects

Mock Object library for PHPUnit

  • 157
  • 430
  • 45418
  • 4661
  • 157

ptrofimov/xpmock

PHPUnit: simple syntax to create mock-objects

  • 1633
  • 182
  • 136
  • 77
  • 4

simpletest/simpletest

Unit testing, mock objects and web testing framework for PHP built around test cases.

  • 2794
  • 65
  • 74
  • 140
  • 43

rossriley/doctrine-mocker

Classes to help mock Doctrine ORM objects

  • 33809
  • 0
  • 1
  • 0
  • 0

michalv8/xpmock

PHPUnit: simple syntax to create mock-objects

  • 34304
  • 1
  • 12
  • 1
  • 1

facile-it/moka

Shorthand for creating mock objects

  • 35504
  • 0
  • 6
  • 10
  • 0

jervdesign/php-unit-mock

Base Class for creating reusable PHPUnit Mock Objects

  • 38457
  • 1
  • 1
  • 0
  • 0

silencedis/phpunit-mock-helper

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.

  • 41250
  • 2
  • 2
  • 0
  • 0

dotink/parody

A simple PHP testing library for defining and crafting mock classes and objects.

  • 59569
  • 1
  • 0
  • 58
  • 5

zookal/magento-mock

Magento Mock Objects for disabled core modules

  • 60180
  • 0
  • 0
  • 49
  • 12

sminnee/phpunit-mock-objects

Mock Object library for PHPUnit (fork to add PHP 7.4 support to 3.4)

  • 60530
  • 1
  • 19
  • 0
  • 1

ehough/mockery

Fork of padraic/mockery compatible with PHP 5.2+.

  • 69925
  • 5
  • 0
  • 0
  • 1

crimsonkissaki/mockmaker

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.

  • 90802
  • 0
  • 0
  • 4
  • 0

degaray/mock-soapclient

This class is used to overwrite the functionality of the soapclient. It is very usefull when mocking objects expected from soap calls to web sevices in unit testing.

  • 91048
  • 1
  • 0
  • 1
  • 1

komex/influence

Mocking any objects and classes

  • 99780
  • 1
  • 0
  • 0
  • 1

komex/delusion

Mock object instrument. Allows to mock and stub all not build-in objects and static classes.

  • 100442
  • 1
  • 0
  • 1
  • 0

pdo-proxy/pdo-proxy

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.

  • 109019
  • 0
  • 0
  • 2
  • 0

bilge/mockery

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.

  • 109670
  • 1
  • 0
  • 0
  • 0

darhazer/better-phpunit-mock-objects

Mock Object library for PHPUnit

  • 135760
  • 0
  • 0
  • 1
  • 0

shadiakiki1986/ffa-php-mock

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

  • 198436
  • 0
  • 0
  • 0
  • 0

ilune/simpletest

It's a framework for unit testing, web site testing and mock objects for PHP 5.0.5+

  • 207612
  • 0
  • 0
  • 0
  • 0

elmpp/mockery

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.

  • 210582
  • 0
  • 0
  • 0
  • 0

garyjl/simpletest

Unit testing, mock objects and web testing framework for PHP built around test cases.

  • 218400
  • 0
  • 0
  • 0
  • 0

ozziest/mocker

Simple mock objects for laravel bench packages

  • 220114
  • 0
  • 0
  • 0
  • 0

Built with Laravel by psampaz, powered by DigitalOcean