[Phpmyadmin-devel] Automated Testing - GSoC Project Idea 2012
Michal Čihař
michal at cihar.com
Mon Mar 12 20:23:08 CET 2012
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...
--
Michal Čihař | http://cihar.com | http://phpmyadmin.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120312/14a321f2/attachment.sig>
More information about the Developers
mailing list