New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Composer to require PHPUnit #5031
Comments
+1 |
In f927ccd: Refs #5031 Now getting PHPUnit from composer/packagist. This will make like better for core team devs |
In cf6d408: Adding PHPUnit to include path, maybe this helps? refs #5031 |
In a215035: Refs #5031 The build is green: https://travis-ci.org/piwik/piwik we're running latest PHPUnit using composer. Instructions to install PHPUnit, run
|
Done |
Should we maybe adjust the RunTests console to use vendor/phpunit/phpunit/phpunit as executable? that would make it possible to use it without adjusting the PATH I guess. |
+1 for making the console command work without PATH update! |
…s will make like better for core team devs Updating readme with instructions. I also hope this will solve the Autoloader issue on the UI build: https://travis-ci.org/piwik/piwik-ui-tests
…piwik we're running latest PHPUnit using composer. Instructions to install PHPUnit, run `php composer.phar update` in the Piwik root directory. Add the PHPUnit binary path to the your PATH environment variable. For example on Linux: Edit `.bashrc` in your home directory and add the following line: export PATH=/path/to/dir:$PATH You will need to source your `.bashrc` or logout/login (or restart the terminal) for the changes to take effect. To source your `.bashrc`, in your home directory simply type $ source .bashrc See [PHPUnit doc](http://www.phpunit.de/manual/current/en/installation.html).
The PHPUnit PEAR channel will be closed by the end of the year. The prefered way of installing PHPUnit is no longer PEAR.
https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method
We should require PHPUnit using composer.
The text was updated successfully, but these errors were encountered: