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

News

 PHPUnit Development Moved to GitHub.

Please no longer report issues here, but rather using the appropriate issue tracker on GitHub.

  • Issues with PHPUnit's Code Coverage functionality should be reported  here
  • Issues with PHPUnit's DatabaseTestCase functionality should be reported  here
  • Issues with PHPUnit's SeleniumTestCase functionality should be reported  here
  • Issues with PHPUnit's Mock Object functionality should be reported  here
  • All other issues should be reported  here

News can be found on  Planet PHPUnit. You can also follow PHPUnit's development on  Twitter.