<br><br><div class="gmail_quote">On Tue, Mar 13, 2012 at 2:22 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 2012-03-12 15:23, Michal Čihař a écrit :<br>
<div><div class="h5">> Hi<br>
><br>
> Dne Tue, 6 Mar 2012 08:53:13 +0530<br>
> yasitha pandithawatta <<a href="mailto:yasitha4@gmail.com">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 class="HOEnZb"><div class="h5"><br>
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
</div></div><br>------------------------------------------------------------------------------<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><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">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></blockquote></div><br>Hi,<div><br></div><div>I went through the <meta http-equiv="content-type" content="text/html; charset=utf-8">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,<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)">[1] - </span><a href="https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410">https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">