This repository holds PHPUnit and its dependencies. It is meant to safely deploy PHPUnit on the Wikimedia cluster since:
Use http://getcomposer.org/ a package management system for PHP.
Eventually review composer.json and install:
$ composer install
To review the list of packages currently installed:
$ composer show --installed
REVIEW THE DIFF!
$ git diff
If it looks sane, add and commit for review:
$ git add phpunit $ git commit -m 'Updating PHPUnit to vX.X.X' $ git push refs/for/master .. $
Then ask for review.
Our phpunit wrapper comes with a --with-phpunitdir option and PHPUnit would nicely detects it has been installed via composer. With this repositry checked out in /contint-phpunit/ you would:
$ php phpunit.php --with-phpunitdir /contint-phpunit/vendor/phpunit/phpunit Will attempt loading PHPUnit from `/contint-phpunit/vendor/phpunit/phpunit` PHPUnit 3.7.28 by Sebastian Bergmann. [...]
This repository will later on be used with git-deploy to push the code in production.