I am working on project that based on Yii framework, and we have many tests that we added programatically to test suite, so we are not using phpunit.xml file to configure tests.
The question is, how I would exclude some directories from code coverage reports(for example Yii folder). The most solutions I found are based on blacklist/whitelists configuration option in xml file.
I also found that there is --filter option for phpunit command, but I couldn't find any example how I could use it to exclude complete directory(or few of them).