Home

test double PHP packages

34 PHP Packages found for test double | Latest test double packages | RSS

mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

  • 10
  • 12239
  • 18279
  • 6998
  • 339

icecave/isolator

Dependency injection for global functions.

  • 2453
  • 39
  • 356
  • 31
  • 4

php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

  • 4288
  • 175
  • 337
  • 82
  • 10

eloquent/phony

Mocks, stubs, and spies for PHP.

  • 5209
  • 58
  • 99
  • 181
  • 3

php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

  • 5851
  • 60
  • 738
  • 222
  • 10

lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

  • 6116
  • 13
  • 12
  • 22
  • 7

creativesoftworks/behat-wiremock-context-extension

A Behat Extension that makes use of Wiremock as a test double for API calls

  • 9906
  • 0
  • 5
  • 0
  • 1

php-mock/php-mock-mockery

Mock built-in PHP functions (e.g. time()) with Mockery. This package relies on PHP's namespace fallback policy. No further extension is needed.

  • 11391
  • 54
  • 134
  • 17
  • 4

php-mock/php-mock-integration

Integration package for PHP-Mock

  • 15848
  • 3
  • 524
  • 7
  • 0

malkusch/php-mock

Use the new package php-mock/php-mock.

  • 16942
  • 8
  • 4
  • 1
  • 0

php-mock/php-mock-prophecy

Mock built-in PHP functions (e.g. time()) with Prophecy. This package relies on PHP's namespace fallback policy. No further extension is needed.

  • 19243
  • 14
  • 91
  • 12
  • 2

docteurklein/test-double-bundle

Easily create test doubles using symfony DIC

  • 22308
  • 0
  • 41
  • 41
  • 7

wmde/psr-log-test-doubles

Test Doubles for the PSR-3 Logger Interface

  • 29498
  • 4
  • 16
  • 3
  • 1

eloquent/phony-phpunit

Phony for PHPUnit.

  • 32101
  • 29
  • 86
  • 5
  • 0

eloquent/phony-kahlan

Phony for Kahlan.

  • 32456
  • 52
  • 13
  • 3
  • 1

eloquent/phony-peridot

Phony integration for Peridot.

  • 33682
  • 2
  • 1
  • 6
  • 0

eloquent/phpstan-phony

PHPStan configuration for Phony.

  • 40089
  • 13
  • 24
  • 3
  • 1

wellrested/test

Test cases and doubles for use with WellRESTed

  • 50982
  • 1
  • 1
  • 0
  • 0

tweakers/symfony-service-mock

Proxy layer to allow services to have their internals replaced with a test double, without affecting a service-container's (i.e. Symfony) bindings.

  • 53447
  • 0
  • 9
  • 1
  • 0

ehough/mockery

Fork of padraic/mockery compatible with PHP 5.2+.

  • 61772
  • 5
  • 0
  • 0
  • 1

jasonmccreary/test-double

  • 62523
  • 0
  • 0
  • 10
  • 0

dancras/doubles

A test doubles framework

  • 63147
  • 1
  • 0
  • 7
  • 1

eloquent/peridot-phony

Phony integration for Peridot.

  • 69854
  • 0
  • 0
  • 6
  • 0

avris/function-mock

Lightweight class for mocking global functions

  • 77138
  • 2
  • 0
  • 0
  • 0

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.

  • 80209
  • 0
  • 0
  • 4
  • 0

Built with Laravel by psampaz, powered by DigitalOcean