[Phpmyadmin-devel] Automated Testing - GSoC Project Idea 2012
yasitha pandithawatta
yasitha4 at gmail.com
Sat Mar 17 17:15:42 CET 2012
On Wed, Mar 14, 2012 at 11:04 PM, yasitha pandithawatta
<yasitha4 at gmail.com>wrote:
>
>
> On Tue, Mar 13, 2012 at 2:22 AM, Marc Delisle <marc at infomarc.info> wrote:
>
>> Le 2012-03-12 15:23, Michal Čihař a écrit :
>> > Hi
>> >
>> > Dne Tue, 6 Mar 2012 08:53:13 +0530
>> > yasitha pandithawatta <yasitha4 at gmail.com> napsal(a):
>> >
>> >> 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?
>> >
>> > 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...
>>
>> Done, along with AllSeleniumTests.php.
>>
>> --
>> Marc Delisle
>> http://infomarc.info
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>>
>> _______________________________________________
>> Phpmyadmin-devel mailing list
>> Phpmyadmin-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>>
>>
> 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,
>
> --
> Yasitha Pandithawatta
> Undergraduate
> Computer Science and Engineering Department
> University of Moratuwa
> Sri Lanka
>
> [1] -
> https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410
>
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,
--
Yasitha Pandithawatta
Undergraduate
Computer Science and Engineering Department
University of Moratuwa
Sri Lanka
[1] -
https://sourceforge.net/tracker/?func=detail&aid=3504536&group_id=23067&atid=377410
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120317/b2582844/attachment.html>
More information about the Developers
mailing list