kandi background
Explore Kits

17 best PHP Unit Testing libraries in 2022

by Open Weaver kits ✔ Updated: Apr 6, 2022

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

PHP star image 18836 Version:9.5.28

License: Permissive (BSD-3-Clause)

The PHP Unit Testing framework.

Support
Quality
Security
License
Reuse

phpunitby sebastianbergmann

PHP star image 18836 Version:9.5.28 License: Permissive (BSD-3-Clause)

The PHP Unit Testing framework.
Support
Quality
Security
License
Reuse

mockeryby mockery

PHP star image 10327 Version:1.5.1

License: Others (Non-SPDX)

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).

Support
Quality
Security
License
Reuse

mockeryby mockery

PHP star image 10327 Version:1.5.1 License: Others (Non-SPDX)

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).
Support
Quality
Security
License
Reuse

global-stateby sebastianbergmann

PHP star image 6319 Version:5.0.5

License: Permissive (BSD-3-Clause)

Snapshotting of global state, factored out of PHPUnit into a stand-alone component

Support
Quality
Security
License
Reuse

global-stateby sebastianbergmann

PHP star image 6319 Version:5.0.5 License: Permissive (BSD-3-Clause)

Snapshotting of global state, factored out of PHPUnit into a stand-alone component
Support
Quality
Security
License
Reuse

atoumby atoum

PHP star image 1425 Version:4.1.0

License: Others (Non-SPDX)

The modern, simple and intuitive PHP unit testing framework.

Support
Quality
Security
License
Reuse

atoumby atoum

PHP star image 1425 Version:4.1.0 License: Others (Non-SPDX)

The modern, simple and intuitive PHP unit testing framework.
Support
Quality
Security
License
Reuse

dbunitby sebastianbergmann

PHP star image 223 Version:1.4.0

License: Others (Non-SPDX)

DbUnit port for PHP/PHPUnit.

Support
Quality
Security
License
Reuse

dbunitby sebastianbergmann

PHP star image 223 Version:1.4.0 License: Others (Non-SPDX)

DbUnit port for PHP/PHPUnit.
Support
Quality
Security
License
Reuse

phpunit-skeleton-generatorby sebastianbergmann

PHP star image 160 Version:Current

License: Others (Non-SPDX)

Tool that can generate skeleton test classes from production code classes and vice versa.

Support
Quality
Security
License
Reuse

phpunit-skeleton-generatorby sebastianbergmann

PHP star image 160 Version:Current License: Others (Non-SPDX)

Tool that can generate skeleton test classes from production code classes and vice versa.
Support
Quality
Security
License
Reuse

stubsby atoum

PHP star image 17 Version:2.6.0

License: Others (Non-SPDX)

Stubs for atoum, the simple modern and intuitive unit testing framework for PHP

Support
Quality
Security
License
Reuse

stubsby atoum

PHP star image 17 Version:2.6.0 License: Others (Non-SPDX)

Stubs for atoum, the simple modern and intuitive unit testing framework for PHP
Support
Quality
Security
License
Reuse

phpunit-tideways-listenerby sebastianbergmann

PHP star image 15 Version:Current

License: Others (Non-SPDX)

TestListener for PHPUnit that can dump profile information

Support
Quality
Security
License
Reuse

phpunit-tideways-listenerby sebastianbergmann

PHP star image 15 Version:Current License: Others (Non-SPDX)

TestListener for PHPUnit that can dump profile information
Support
Quality
Security
License
Reuse

phpunit-mink-traitby sebastianbergmann

PHP star image 13 Version:Current

License: Others (Non-SPDX)

Trait that provides a minimal integration layer for using Mink in PHPUnit test cases

Support
Quality
Security
License
Reuse

phpunit-mink-traitby sebastianbergmann

PHP star image 13 Version:Current License: Others (Non-SPDX)

Trait that provides a minimal integration layer for using Mink in PHPUnit test cases
Support
Quality
Security
License
Reuse

atoumby mageekguy

PHP star image 11 Version:Current

License: Others (Non-SPDX)

The root and a fork of atoum, the modern, simple and intuitive PHP 5.3+ unit testing framework.

Support
Quality
Security
License
Reuse

atoumby mageekguy

PHP star image 11 Version:Current License: Others (Non-SPDX)

The root and a fork of atoum, the modern, simple and intuitive PHP 5.3+ unit testing framework.
Support
Quality
Security
License
Reuse

phpunit-extensionby atoum

PHP star image 9 Version:0.6

License: Others (Non-SPDX)

atoum PHPUnit extension — Run your PHPUnit tests with atoum

Support
Quality
Security
License
Reuse

phpunit-extensionby atoum

PHP star image 9 Version:0.6 License: Others (Non-SPDX)

atoum PHPUnit extension — Run your PHPUnit tests with atoum
Support
Quality
Security
License
Reuse

phpunit-memprof-listenerby sebastianbergmann

PHP star image 9 Version:Current

License: Others (Non-SPDX)

Test Listener for PHPUnit that can dump memory profile information

Support
Quality
Security
License
Reuse

phpunit-memprof-listenerby sebastianbergmann

PHP star image 9 Version:Current License: Others (Non-SPDX)

Test Listener for PHPUnit that can dump memory profile information
Support
Quality
Security
License
Reuse

partition-phpunit-suiteby sebastianbergmann

PHP star image 6 Version:Current

License: Others (Non-SPDX)

Tool for creating build scripts for executing PHPUnit test suites in parallel

Support
Quality
Security
License
Reuse

partition-phpunit-suiteby sebastianbergmann

PHP star image 6 Version:Current License: Others (Non-SPDX)

Tool for creating build scripts for executing PHPUnit test suites in parallel
Support
Quality
Security
License
Reuse

visibility-extensionby atoum

PHP star image 4 Version:1.3.0

License: Others (Non-SPDX)

The atoum visibility-extension allows you to override method visibility in your unit tests.

Support
Quality
Security
License
Reuse

visibility-extensionby atoum

PHP star image 4 Version:1.3.0 License: Others (Non-SPDX)

The atoum visibility-extension allows you to override method visibility in your unit tests.
Support
Quality
Security
License
Reuse

mockeryby davedevelopment

PHP star image 2 Version:Current

License: Others (Non-SPDX)

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.

Support
Quality
Security
License
Reuse

mockeryby davedevelopment

PHP star image 2 Version:Current License: Others (Non-SPDX)

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.
Support
Quality
Security
License
Reuse

octo-test-skeletonby researchgate

PHP star image 0 Version:Current

License: Others (Non-SPDX)

Generate skeleton test classes

Support
Quality
Security
License
Reuse

octo-test-skeletonby researchgate

PHP star image 0 Version:Current License: Others (Non-SPDX)

Generate skeleton test classes
Support
Quality
Security
License
Reuse

mockeryby ghostwriter

PHP star image 0 Version:Current

License: Others (Non-SPDX)

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).

Support
Quality
Security
License
Reuse

mockeryby ghostwriter

PHP star image 0 Version:Current License: Others (Non-SPDX)

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).
Support
Quality
Security
License
Reuse

See similar Kits and Libraries

Testing
Unit Testing