PHPUnit
In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems. Critical business logic like this needs to work correctly. But how do you ensure that it does? You test it, of course.
To make code testing viable, good tool support is needed. This is where PHPUnit comes into play. It is a member of the xUnit family of testing frameworks and provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.
Read more about PHPUnit's features here.
Get Started
- Install PHPUnit.
- Learn how to write tests.
- Learn how to run tests.
- Learn how to organize tests.
- Learn how to set up phpUnderControl for continuous integration.
- Read the documentation (ePub, PDF, Single HTML).
News
PHPUnit Development Moved to GitHub.
News can be found on Planet PHPUnit. You can also follow PHPUnit's development on Twitter.
