PHP Unit Testing Tools
1. Amock
Amock is a mock object library written in PHP 5, inspired by EasyMock. Mock objects for classes or interfaces are generated on the fly using a source code generator.
Requirement: POSIX
2. izh_test
izh_test is a xUnit-like framework which allows users to test php pages using the console version of php, uses file compare for checking results of tests, and can test session state content and db state content too
Requirement: Windows
Download data: Downloadable files: 635 total downloads to date
3. PHP Assertion Unit Framework
Unit testing framework based on assertions which helps PHP developers test their code. Failing assertions about the program state are tracked in a Reporter window of a DOM-compliant browser such as IE5+, Mozilla, Netscape 6+, etc.
Requirement: tbc
Download data: Downloadable files: 6467 total downloads to date
4. PHPUnit
Unit testing framework for PHP based on the "JUnit" framework for Java
Requirement: OS Independent, PHP
Download data: Downloadable files: 34847 total downloads to date
5. PHPUnit
PHPUnit is a family of PEAR packages (PHPUnit2 for PHP 5, PHPUnit for PHP 4) that supports the development of object-oriented PHP applications using the concepts and methods of Agile Software Development, Extreme Programming, Test-Driven Development and Design-by-Contract Development by providing an elegant and robust framework for the creation, execution and analysis of Unit Tests.
Requirement: PHP4, PHP5
6. SimpleTest
Unit testing, web testing and mock objects framework for PHP. Additional features are generation of server stubs, integration of PhpUnit and PEAR test cases, on-line tutorials and documentation. The web testing won't be fully finished until version 1.0, but the other functionality is stable.
Requirement: PHP
Download data: Downloadable files: 91006 total downloads to date
7. Spike PHPCheckstyle
Spike PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions. The tools checks the input PHP source code and reports any deviations from the coding convention.
Requirement: PHP 5.0 and newer
8. Spike PHPCoverage
Spike PHPCoverage is an open-source tool for measuring and reporting code coverage provided by the test suite of a PHP application. Spike PHPCoverage can instrument and record the line coverage information for any PHP script at runtime.
Requirement: PHP
Download data: Downloadable files: 1242 total downloads to date
9. Testilence
Testilence is a unit-testing library for programs written in PHP 5. Although it is similar to other JUnit-inspired unit testing libraries, Testilence is written with an emphasis on what is useful, not what is usual. That said, most clever ways of doing useful things for unit test authors and users have already been discovered. Testilence combines original ideas with the best features found in different unit-testing toolkits into a coherent set.
Requirement: POSIX
See More
Functional Test Tools – All free and Open-Source
Performance Test Tools – All free and Open-Source
Security Test Tools – All free and Open-Source
Unit Testing Tools – All free and Open-Source
Unit Test C/C++
Unit Test Java
Unit Test .Net
Unit Test PHP
Unit Test SQL
Related Topics
Guru’s Software Testing
Software Testing Tools – All free and Open-Source
Software Testing Techniques
Software Testing Techniques - II
Also Available
Server Virtualization – World’s Hottest Topic – A Good Research Work
If these topics really helped you or to make this topic more informative please give your suggestions/comments. Thanks