I am trying to setup PHPUnit testing.
Every time i run the test i get this error:
Warning: require_once(PHPUnit/Extensions/SeleniumTestCase.php)
That file doesn’t exist. Tried reinstalling pear, PHPUnit and PHP, no success, i am getting the same error.
From what i understand the SeleniumTestCase.php does need to be in PHPUnit/Extensions/ folder.
Idealy i would like to settup all needed testing in NetBeans, here are some good info i found:
http://dan-bower.net/installing-phpunit-selenium-with-wamp/
http://www.yiiframework.com/wiki/83/netbeans-ide-and-yii-projects/
Unfortunately this information didn’t help me to fix the problem.
FYI i am using Wamp server, Yii framework and NetBeans is my editor.
If you have had similar issues and found the solution, please share the solution.
I am trying to setup PHPUnit testing. Every time i run the test i
Share
This worked for me and seems way simpler:
This allowed me to run the test in the aforementioned tutorial on netbeans’ website. I hope it helps!