PHPUnit Resources

Following are really good resources for learning about PHPUnit.

Manual :: A short tutorial about PHPUnit

PHPUnit provides a simple framework for creating a test suite to automate testing of functions and classes. PHPUnit is inspired by JUnit which was created by Kent Beck and Erich Gamma as a tool for eXtreme Programming.

 

Getting Started with PHPUnit – The PHP Testing Framework

We distribute a PHP Archive (PHAR) that contains everything you need in order to use PHPUnit. Simply download it from here, make it executable, and put it into your $PATH, for instance:

PHPUnit Tutorial For Beginners – CodeSamplez

I am using PHPUnit for quite sometime now. Though was thinking few times to write about it, but it didn’t happen till now. In fact, this is my first tutorial on testing as well. The official documentation/getting started guide is already quite good for starting.

 

Photo by oneiric wanderings

If you found an error, highlight it and press Shift + Enter or click here to inform us.

CC BY-NC-ND 4.0 PHPUnit Resources by Psyops Prime is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Leave a Reply