Hi All,
I am Yasitha Chathuranga Pandithawatta, 4th year undergraduate of Department of Computer Science Engineering, University of Moratuwa, Sri Lanka. As an open source fan I would like to take part in GSoC this year. I am really interested about the project "Automated Testing" which is listed in your wiki page under "GSoC 2012 Ideas List".
I would like to get to know more details about the project. I would like to contact the mentor if possible. Hope I can do my best for the organization and a reply will be highly appreciated.
Regards,
On Sat, Mar 3, 2012 at 3:29 PM, yasitha pandithawatta yasitha4@gmail.comwrote:
While the proposed mentor for this idea should be able to give you more details on the project, following resources might be helpful to you to get started.
We have a wiki page that contains details on setting up the testing environment. You can find it here [1]. There was also a GSoC project aimed at improving the test coverage last year and you can find details about it from here [2].
Hi Madura Aiya,
Thank You for the reply. I'll go through it.
Regards, Yasitha On Sat, Mar 3, 2012 at 5:06 PM, Madhura Jayaratne madhura.cj@gmail.comwrote:
Hi,
I have set up the the testing environment. I tried to run some test suits. I have found most of the test suits have some fatal errors. Test classes under test/libraries/ are working fine. I went through the AllTest.php. The required paths have some conflicts with the real paths.
Most of the cases I'll getting the following fatal error.
PHP Fatal error: require_once(): Failed opening required './test/PMA_get_real_size_test.php' (include_path='.:/usr/share/php:/usr/share/pear:') in /var/www/phpmyadmin-dev/test/AllTests.php on line 32 (File path for an example)
And required require_once './test/FailTest.php' is not found in the package.
What can I do for these issues?
Reards,
Le 2012-03-05 22:23, yasitha pandithawatta a écrit :
Hi, this FailTest.php was there in version 3.4 but has been removed in version 3.5, so there is clearly a problem here.
On Thu, Mar 8, 2012 at 7:03 PM, Marc Delisle marc@infomarc.info wrote:
Hi, I have made my first contribution to PMA. I fixed a bug[1] and generated the patch for it. I'm wonder where should I attach the patch in source forge. I cannot attach it under the bug description. Should I send that under patches in source forge refering to the bug id?
Regards,
Le 2012-03-12 09:26, yasitha pandithawatta a écrit :
Yes, use our patches tracker.
You could also issue a pull request, see [0]
[0] http://www.phpmyadmin.net/home_page/devel.php
On Mon, Mar 12, 2012 at 6:56 PM, yasitha pandithawatta yasitha4@gmail.comwrote:
Hi,
I implemented the feature request *ID: 3187077 and attached the patch in the *source* forge patch tracker. [0]* I would like to concentrate more in testing as I like to do the automated testing project. Can somebody pointing out some bugs or feature requests in unit testing.
Regards,
Hi
Dne Tue, 6 Mar 2012 08:53:13 +0530 yasitha pandithawatta yasitha4@gmail.com napsal(a):
Well AllTests.php is not really used for testing. To run complete testsuite, running phpunit in phpMyAdmin's directory should do the job. I think AllTests.php is pretty much outdated and probably should be rather dropped...
Le 2012-03-12 15:23, Michal Čihař a écrit :
Done, along with AllSeleniumTests.php.
On Tue, Mar 13, 2012 at 2:22 AM, Marc Delisle marc@infomarc.info wrote:
Hi,
I went through the AllSeleniumTests.php and found the tests are outdated. I started to re write the PmaSeleniumTestCase.php and I updated the PmaSeleniumLoginTest.php. I just add the login test to the AllSeleniumTest suit. If I can get a feed back I can write the test cases for the remaining two suits. Patch was attached to the source forge patch tracker.[1] Add a README file under /test/selenium which contains testing configuration guide.
Regards,
On Wed, Mar 14, 2012 at 11:04 PM, yasitha pandithawatta yasitha4@gmail.comwrote:
Hi Michal,
I wrote some selenium test cases for login. I updated the AllSeleniumTests.php and add I add a Helper class and TestConfig class which can be use when writing other test cases. I attached the changes as patch in source forge patch tracker.[1] Meanwhile Mark has removed the AllTests.php along with AllSeleniumTests.php. Since AllSeleniumTests.php class is no longer there patch will give some errors. He suggested some one familiar with selenium should involved with this. ch willCan you look for this. Adding old AllSeleniumTests.php and merge my patch will do the job.
Regards,
2012/3/17 yasitha pandithawatta yasitha4@gmail.com
Hi,
I updated the patch and attached to the patch traker. [1]. It can be directly merged into the current master branch.
Regards,
2012/3/21 yasitha pandithawatta yasitha4@gmail.com
Hi,
I fixed the PmaSeleniumPrivilegesTest and PmaSeleniumXssTest classes as well. I attached the patch in the source forge patch tracker.[0] In PmaSeleniumXssTest class I added a method testQueryTabWithNullValue() to test the processing a null query. But there should be another method to handle the query with xss scripts. For this I need to call selenium.type() on the respective textarea. But in the latest version the textarea is replaced with codemirror object. It doesn't have an id and cannot access via Xpath. Can you give any suggestion for this?
Regards,