[Phpmyadmin-devel] Automated Testing - GSoC Project Idea 2012

Marc Delisle marc at infomarc.info
Mon Mar 12 21:52:05 CET 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120312/23885db0/attachment.sig>


More information about the Developers mailing list