PHPUnit test suite include path

Posted by Andre Scott | Updated on

PHPUnit test suite include path. The best place to set your PHP include path is in your bootstrap file. Usually, your phpunit.xml file will include a bootstrap attribute:

Then in your bootstrap file you can set include paths, include important files, etc..

The config file is covered in Appendix C of the PHPunit docs.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers