• PHP

    mockery/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.

  • PHP

    phpspec/phpspec

    Specification-oriented BDD framework for PHP 5.6+

  • PHP

    codeception/codeception

    BDD-style testing framework

  • PHP

    codeception/base

    BDD-style testing framework

  • PHP

    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.

  • PHP

    bossa/phpspec2-expect

    Helper that decorates any SUS with a phpspec lazy object wrapper

  • PHP

    orchestra/testbench

    Laravel Testing Helper for Packages Development

  • PHP

    polishsymfonycommunity/symfony-mocker-container

    Provides base Symfony dependency injection container enabling service mocking.

  • PHP

    phpunit/phpunit-story

    Story extension for PHPUnit to facilitate Behaviour-Driven Development.

    Abandoned! See behat/behat

  • PHP

    php-mock/php-mock-integration

    Integration package for PHP-Mock

  • PHP

    bex/behat-screenshot

    Extension for behat to help debug failing scenarios

  • PHP

    bex/behat-extension-driver-locator

    Driver locator tool for behat extensions

  • PHP

    atoum/atoum

    Simple modern and intuitive unit testing framework for PHP 5.3+

  • PHP

    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.

  • PHP

    lakion/api-test-case

    Perfect PHPUnit TestCase for JSON/XML API TDD with Symfony.