Thursday, December 20, 2012

PHPUnit


sudo pear upgrade pear
Install PHPUnit Dependencies

Now, we can install PHPUnit and it’s dependencies through PEAR.

$ sudo pear channel-discover pear.phpunit.de
$ sudo pear channel-discover components.ez.no
$ sudo pear channel-discover pear.symfony.com
$ sudo pear install --alldeps phpunit/PHPUnit
Make Sure It Works

After everything is complete, verify that phpunit works:

$ phpunit --version
PHPUnit 3.5.5 by Sebastian Bergmann.
Post a Comment

bootstrap_fonts_woff: inputs: - '%kernel.root_dir%/../vendor/twitter/bootstrap/fonts/glyphicons-halflings-regular.woff' output...