I am new to PHP and Yii, I am trying a tutorial book. Installed XAMPP which comes prebundled with Apache server, PHP, MySQL etc to get me started. Then I installed Yii framework 1.1.12. PHPUnit version is 3.7.21.
I went to the MOdel, COntroller , View creation quite fine. The issue starts when I try to get the Testing framework to work. Have the testcase to check DB connection and when trying to run the same.
The error I get while trying to run it
PHP Warning: require_once(PHPUnit/Extensions/SeleniumTestCase.php): failed to open stream: No such file or directory in C:\xampp\htdocs\yii\framework\test\CWebTestCase.php on line 12
Tried few solution from internet with no avail.
XAMPP had PEAR software bundled which is a package manager. Tried downloadin selenium dependencies.
Uncomment extensions in the php.ini
Install composer another package manager, and try to get the test dependencies. Run it the composer from the project’s root directory with dependencies defined in the composer.json. However, still getting the same error after what seems to be composer download some dependencies.