chrisboulton / php-resque

PHP port of resque (Workers and Queueing)
MIT License
3.43k stars 759 forks source link

apply best practice in phpunit.xml file #288

Closed jaswdr closed 8 years ago

jaswdr commented 8 years ago

This is a sugestion based on this link from PHPUnit docs.

Sometimes we want to specify our own tests configurations, each dev has him own, his own suites, his own enviorment vars, his own PHPUnit configurations, but instead of that, also we need to be able to have a general configuration file to run the CI tests of course.

For this, only renaming the actual phpunit.xml to phpunit.xml.dist and add it to .gitignore is enought, each dev maybe now can have his own configuration, anything will break since PHPUnit try first the phpunit.xml file and after that the phpunit.xml.dist file, so far so good :smile:

danhunsaker commented 8 years ago

:+1: