17 best PHP Unit Testing libraries in 2024
by marketing.admin@openweaver.com Updated: Mar 10, 2023
Guide Kit
Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. Unit testing can be done manually but is often automated. The goal of unit testing is to isolate each part of the program and show that individual parts are correct in terms of requirements and functionality. A unit test provides a strict, written contract that the piece of code must satisfy. The entire list of the best 17 best Python Unit Testing Open Source libraries including phpunit - The PHP Unit Testing framework; mockery - simple yet flexible PHP mock object framework; atoum - The modern, simple and intuitive PHP unit testing framework.
phpunitby sebastianbergmann
The PHP Unit Testing framework.
phpunitby sebastianbergmann
PHP 19127 Version:Current License: Permissive (BSD-3-Clause)
mockeryby 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).
mockeryby mockery
PHP 10406 Version:1.5.1 License: Others (Non-SPDX)
global-stateby sebastianbergmann
Snapshotting of global state, factored out of PHPUnit into a stand-alone component
global-stateby sebastianbergmann
PHP 6387 Version:Current License: Permissive (BSD-3-Clause)
atoumby atoum
The modern, simple and intuitive PHP unit testing framework.
atoumby atoum
PHP 1430 Version:4.1.0 License: Others (Non-SPDX)
phpunit-skeleton-generatorby sebastianbergmann
Tool that can generate skeleton test classes from production code classes and vice versa.
phpunit-skeleton-generatorby sebastianbergmann
PHP 160 Version:Current License: Others (Non-SPDX)
stubsby atoum
Stubs for atoum, the simple modern and intuitive unit testing framework for PHP
stubsby atoum
PHP 17 Version:2.6.0 License: Others (Non-SPDX)
phpunit-tideways-listenerby sebastianbergmann
TestListener for PHPUnit that can dump profile information
phpunit-tideways-listenerby sebastianbergmann
PHP 15 Version:Current License: Others (Non-SPDX)
phpunit-mink-traitby sebastianbergmann
Trait that provides a minimal integration layer for using Mink in PHPUnit test cases
phpunit-mink-traitby sebastianbergmann
PHP 13 Version:Current License: Others (Non-SPDX)
atoumby mageekguy
The root and a fork of atoum, the modern, simple and intuitive PHP 5.3+ unit testing framework.
atoumby mageekguy
PHP 11 Version:Current License: Others (Non-SPDX)
phpunit-extensionby atoum
atoum PHPUnit extension — Run your PHPUnit tests with atoum
phpunit-extensionby atoum
PHP 9 Version:0.6 License: Others (Non-SPDX)
phpunit-memprof-listenerby sebastianbergmann
Test Listener for PHPUnit that can dump memory profile information
phpunit-memprof-listenerby sebastianbergmann
PHP 9 Version:Current License: Others (Non-SPDX)
partition-phpunit-suiteby sebastianbergmann
Tool for creating build scripts for executing PHPUnit test suites in parallel
partition-phpunit-suiteby sebastianbergmann
PHP 6 Version:Current License: Others (Non-SPDX)
visibility-extensionby atoum
The atoum visibility-extension allows you to override method visibility in your unit tests.
visibility-extensionby atoum
PHP 4 Version:1.3.0 License: Others (Non-SPDX)
mockeryby davedevelopment
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 succint 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.
mockeryby davedevelopment
PHP 2 Version:Current License: Others (Non-SPDX)
octo-test-skeletonby researchgate
Generate skeleton test classes
octo-test-skeletonby researchgate
PHP 0 Version:Current License: Others (Non-SPDX)
mockeryby ghostwriter
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).
mockeryby ghostwriter
PHP 0 Version:Current License: Others (Non-SPDX)