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:
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: