[Phpmyadmin-devel] Regarding the Testing environment Wiki

Hi all, Our *Testing Environment* Wiki page[0] has a quite a good documentation along with links on how to install all the dependencies. But the command stated about installing the PHPUnit_Selenium package under the section 'Installing Selenium' pear install phpunit/PHPUnit_Selenium is deprecated and is not functional now[1]. A general Google-lookup suggests a way of using composer to download the required package. The text to be included in composer.json is ' { "require": { "phpunit/phpunit": "*", "phpunit/phpunit-selenium": ">=1.2" } } ' and then run $ php composer.phar install in the directory where you have your .phar file and composer.json file. So, I suggest we should make the appropriate changes to the wiki page. [0] : https://wiki.phpmyadmin.net/pma/TestingEnvironment [1] : https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Insta... -- Regards, Deven Bansod * <f2012316@pilani.bits-pilani.ac.in>*

Hi Dne Tue, 5 May 2015 22:50:54 +0530 Deven Bansod <devenbansod.bits@gmail.com> napsal(a):
Our *Testing Environment* Wiki page[0] has a quite a good documentation along with links on how to install all the dependencies. But the command stated about installing the PHPUnit_Selenium package under the section 'Installing Selenium'
pear install phpunit/PHPUnit_Selenium
is deprecated and is not functional now[1].
A general Google-lookup suggests a way of using composer to download the required package.
Indeed the wiki is not really up to date, we already use composer for that (see composer.json in the repository).
The text to be included in composer.json is ' { "require": {
It should be rather require-dev...
"phpunit/phpunit": "*", "phpunit/phpunit-selenium": ">=1.2" } } ' and then run
$ php composer.phar install
in the directory where you have your .phar file and composer.json file.
So, I suggest we should make the appropriate changes to the wiki page.
You're right, can you please do the changes? -- Michal Čihař | http://cihar.com | http://phpmyadmin.net

Hi, On Wed, May 6, 2015 at 11:38 AM, Michal Čihař <michal@cihar.com> wrote:
Hi
Dne Tue, 5 May 2015 22:50:54 +0530 Deven Bansod <devenbansod.bits@gmail.com> napsal(a):
Our *Testing Environment* Wiki page[0] has a quite a good documentation along with links on how to install all the dependencies. But the command stated about installing the PHPUnit_Selenium package under the section 'Installing Selenium'
pear install phpunit/PHPUnit_Selenium
is deprecated and is not functional now[1].
A general Google-lookup suggests a way of using composer to download the required package.
Indeed the wiki is not really up to date, we already use composer for that (see composer.json in the repository).
Great! I did not come across it before this.
The text to be included in composer.json is ' { "require": {
It should be rather require-dev...
Yes Right. It should be require-dev only.
"phpunit/phpunit": "*", "phpunit/phpunit-selenium": ">=1.2" } } ' and then run
$ php composer.phar install
in the directory where you have your .phar file and composer.json file.
So, I suggest we should make the appropriate changes to the wiki page.
You're right, can you please do the changes?
I have made the required changes to the wiki. Please suggest/ make further changes if you find anything missing/ extra.
-- Michal Čihař | http://cihar.com | http://phpmyadmin.net
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-- Regards, Deven Bansod * <f2012316@pilani.bits-pilani.ac.in>*
participants (2)
-
Deven Bansod
-
Michal Čihař