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.
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@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@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers
Hi
Dne 29.1.2016 v 02:37 Lakmal padmakumara napsal(a):
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 ?
Did you install phpunit/phpunit-selenium as well? There is composer.json in the repo which you can use to install all dependecies for development.
Hi Michal
Yes, I used the composer.json in the repo to get all the dependencies.
Could it be a installation location problem ? I digged around the web to find a reason for this error. Didn't find something useful yet. On Jan 29, 2016 11:04 AM, "Michal Čihař" michal@cihar.com wrote:
Hi
Dne 29.1.2016 v 02:37 Lakmal padmakumara napsal(a):
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 ?
Did you install phpunit/phpunit-selenium as well? There is composer.json in the repo which you can use to install all dependecies for development.
-- Michal Čihař | http://cihar.com | http://blog.cihar.com
Developers mailing list Developers@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers
Hi Michal
Yes, I used the composer.json in the repo to get all the dependencies.
Could it be a installation location problem ? I digged around the web to find a reason for this error. Didn't find something useful yet. On Jan 29, 2016 11:04 AM, "Michal Čihař" michal@cihar.com wrote:
Hi
Dne 29.1.2016 v 02:37 Lakmal padmakumara napsal(a):
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 ?
Did you install phpunit/phpunit-selenium as well? There is composer.json in the repo which you can use to install all dependecies for development.
-- Michal Čihař | http://cihar.com | http://blog.cihar.com
Developers mailing list Developers@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers
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@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@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@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers
Developers mailing list Developers@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers