Skip to content
That's another way to install PHPUnit without the PEAR http://net.tutsplus.com/tutorials/php/test-driven-development-in-php-first-steps/
PHP Other
Find file
Latest commit 06993af @EHER Merge pull request #12 from bitdeli-chef/master
Add a Bitdeli Badge to README

README.md

PHPUnit All in One

That's another way to install PHPUnit without the PEAR

Git

Just clone and run

./bin/phpunit

or

/path/to/phpunit-all-in-one/bin/phpunit

Composer

Add "EHER/PHPUnit" package to your composer.json file

{
    "require": {
        "php":          ">=5.3.2",
        "EHER/PHPUnit": ">=1.2"
    }
}

After install/update vendors with Composer, you can simply run

php vendor/EHER/PHPUnit/phpunit.php

Bitdeli Badge

Something went wrong with that request. Please try again.