PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Giorgio Sironi's Blog: The PHPUnit Refcard is out

Note: This article was originally published at PHPDeveloper on 16 November 2010.
PHPDeveloper

Unit testing fans will be happy to know that a Refcard from DZone has been published (authored by Giorgio Sironi) so you can keep PHPUnit at your fingertips.

Do you occasionally forget the syntax for creating Mocks and Stubs in PHPUnit? Or wonder how a command line option work? Or if there is an assertion that may be perfect for the test you're writing? Then this Refcard can help you. The Refcard is a PDF cheatsheet of 6 pages, which interleaves code samples with explaining test and sample outputs. Getting to know PHPUnit to use it at its full potential will be a little easier now.

You can check out the contents of the refcard on the DZone site or download a PDF to make it all your own.