Page 1 of 1

PHPUnit was not found in your include_path

Posted: Sat Mar 22, 2014 8:49 am
by huy8751
Hi all! I already install Zend Framework on Mac OS 10.9, i also install PHPUnit via pear. But when i tried to create a project it show up a message
Testing Note: PHPUnit was not found in your include_path, therefore no testing actions will be created.
Please help!! Thank you so much

Re: PHPUnit was not found in your include_path

Posted: Thu Mar 27, 2014 5:13 am
by jean3568
I dont know how are you doing this but, you should not include your tests in the same "level of the application".

I usually use this structure to my test cases - inside my module:

├── test
│   ├── Bootstrap.php
│   ├── Module
│   │   └── Controller
│   │   ├── IndexControllerTest.php
│   └── phpunit.xml

Another important thing is how are you runing PHPunit, if not from console, try runing it on console to see if the command is found in path.