[phpMyAdmin Developers] Getting a PHPUnit_Extensions_Selenium2TestCase not found issue

Lakmal padmakumara rclakmal at gmail.com
Fri Jan 29 16:07:05 CET 2016


This dependency(phpunit/phpunit-selenium) is included in the composer.json
included in the repo. Since I install the dependencies from that file, it
was included and successful.

Could it be a problem of the location I'm triggering the "phpunit -c"
command ? I'm running it from the root of phpmyadmin folder.

On Fri, Jan 29, 2016 at 9:33 AM, Sebastian Mendel <info at sebastianmendel.de>
wrote:

> Did you try installing phpunit/phpunit-selenium?
>
> https://phpunit.de/manual/3.7/en/selenium.html
>
> The PHPUnit_Selenium package is included in the PHAR distribution of
> PHPUnit. It can be installed via Composer by adding the following
> "require-dev" dependency:
>
> "phpunit/phpunit-selenium": ">=1.2"
>
>
>
>
> Lakmal padmakumara <rclakmal at gmail.com> schrieb am Fr., 29. Jan. 2016 um
> 02:37 Uhr:
>
>> Dear Developers,
>>
>> I'm trying to launch the test suite by running the following command from
>> the root of phpmyadmin folder.
>>
>> "phpunit -c phpunit.xml.nocoverage"
>>
>> But, I'm receiving the following error.
>>
>> '
>> *PHP Fatal error:  Class 'PHPUnit_Extensions_Selenium2TestCase' not found
>> in /my_local_path/phpmyadmin/test/selenium/TestBase.php on line 18'*
>>
>> The installation of phpunit was done via composer and it was successful.
>> Could you think of any other problem which might be causing this issue for
>> me ?
>>
>> PHP version 5.6.17
>> PHPUnit version 5.1.4
>>
>> Thanks in advance.
>>
>> --
>> Best Regards
>> Lakmal
>> _______________________________________________
>> Developers mailing list
>> Developers at phpmyadmin.net
>> https://lists.phpmyadmin.net/mailman/listinfo/developers
>>
>
> _______________________________________________
> Developers mailing list
> Developers at phpmyadmin.net
> https://lists.phpmyadmin.net/mailman/listinfo/developers
>
>


-- 
Best Regards
Lakmal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20160129/87082ef3/attachment-0001.html>


More information about the Developers mailing list