<br><br><div class="gmail_quote">2012/3/17 yasitha pandithawatta <span dir="ltr"><<a href="mailto:yasitha4@gmail.com" target="_blank">yasitha4@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div><br><div class="gmail_quote">On Wed, Mar 14, 2012 at 11:04 PM, yasitha pandithawatta <span dir="ltr"><<a href="mailto:yasitha4@gmail.com" target="_blank">yasitha4@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div><div>On Tue, Mar 13, 2012 at 2:22 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Le 2012-03-12 15:23, Michal Čihař a écrit :<br>
<div><div>> Hi<br>
><br>
> Dne Tue, 6 Mar 2012 08:53:13 +0530<br>
> yasitha pandithawatta <<a href="mailto:yasitha4@gmail.com" target="_blank">yasitha4@gmail.com</a>> napsal(a):<br>
><br>
>> I have set up the the testing environment. I tried to run some test suits.<br>
>> I have found most of the test suits have some fatal errors. Test classes<br>
>> under test/libraries/ are working fine.<br>
>> I went through the AllTest.php. The required paths have some conflicts with<br>
>> the real paths.<br>
>><br>
>> Most of the cases I'll getting the following fatal error.<br>
>><br>
>> PHP Fatal error:  require_once(): Failed opening required<br>
>> './test/PMA_get_real_size_test.php'<br>
>> (include_path='.:/usr/share/php:/usr/share/pear:') in<br>
>> /var/www/phpmyadmin-dev/test/AllTests.php on line 32<br>
>> (File path for an example)<br>
>><br>
>> And required require_once './test/FailTest.php' is not found in the package.<br>
>><br>
>> What can I do for these issues?<br>
><br>
> Well AllTests.php is not really used for testing. To run complete<br>
> testsuite, running phpunit in phpMyAdmin's directory should do the job.<br>
> I think AllTests.php is pretty much outdated and probably should be<br>
> rather dropped...<br>
<br>
</div></div>Done, along with AllSeleniumTests.php.<br>
<div><div><br>
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
</div></div><br></div></div>------------------------------------------------------------------------------<br>
Try before you buy = See our experts in action!<br>
The most comprehensive online learning library for Microsoft developers<br>
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,<br>
Metro Style Apps, more. Free future releases when you subscribe now!<br>
<a href="http://p.sf.net/sfu/learndevnow-dev2" target="_blank">http://p.sf.net/sfu/learndevnow-dev2</a><div><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></div></blockquote></div><br>Hi,<div><br></div><div>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]</div>



<div>Add a README file under /test/selenium which contains testing configuration guide.</div><div><br></div><div>Regards,<div><br>-- <br><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)">Yasitha Pandithawatta <br>



Undergraduate<br>Computer Science and Engineering Department<br>University of Moratuwa<br>Sri Lanka</span><br>
</div></div><div><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)">[1] - </span><a href="https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410" target="_blank">https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410</a></div>




</blockquote></div><br></div></div>Hi Michal,<div><br></div><div>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.</div>

<div><div>
<div><br></div><div>Regards,<br>-- <br><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)">Yasitha Pandithawatta <br>Undergraduate<br>Computer Science and Engineering Department<br>


University of Moratuwa<br>Sri Lanka</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)"><span style="font-size:13.2px;border-collapse:collapse">[1] - </span><a href="https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410" style="font-family:arial;font-size:small" target="_blank">https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410</a> <br>


</span></div>
</div></div></blockquote></div><br><br clear="all"><div>Hi,</div><div><br></div><div>I updated the patch and attached to the patch traker. [1]. It can be directly merged into the current master branch.</div><div><br></div>

<div>Regards,</div>-- <br><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)">Yasitha Pandithawatta <br>Undergraduate<br>Computer Science and Engineering Department<br>
University of Moratuwa<br>
Sri Lanka</span><br>
<div><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.2px;border-collapse:collapse;color:rgb(136,136,136)"><meta http-equiv="content-type" content="text/html; charset=utf-8"><span style="font-size:13.2px;border-collapse:collapse">[1] - </span><a href="https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410" target="_blank" style="font-family:arial;font-size:small">https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410</a></span></div>