News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sebastian Bergmann's Blog:
Using PHPUnit from a Git Checkout
April 15, 2010 @ 10:58:46

On his blog today Sebastian Bergmann shows how to use PHPUnit from a git checkout and run its own suite of tests easily.

Users of PHPUnit frequently ask me questions such as "How do I use PHPUnit from a Git checkout?" or "How do I run PHPUnit's own test suite?" This article provides the answers to these questions.

The git checkout is as easy as cloning the latest version (at the time of this post, it's 3.5). If you want a different version, you can checkout that branch with one or two more commands. The checkout comes with the test runner PHP script that is used when the "phpunit" command is run based on the "phpunit.xml.dist" file included in the checkout.

0 comments voice your opinion now!
git checkout phpunit unittest github


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: Visualization of PHPUnit Development

Rob Allen's Blog: Unit testing controller actions with Zend_Test_PHPUnit_ControllerTestCase

Web Builder Zone: PHPUnit 3.5: easier asserting and mocking

Johannes Schluter's Blog: Class posing and overloading the "new" operator

Sebastian Bergmann's Blog: PHPUnit 3.1.0 (Release Announcement)


Community Events











Don't see your event here?
Let us know!


project framework security install unittest hack example performance composer symfony2 hhvm introduction package release language component application facebook database podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework