[Phpmyadmin-devel] Automatic testing
Michal Čihař
michal at cihar.com
Mon Mar 25 10:54:08 CET 2013
Hi
first of all it is not needed to CC all my emails, using mailing list
is enough :-).
Dne Sat, 23 Mar 2013 18:18:36 +0800
adam <adamgsoc2013 at gmail.com> napsal(a):
> I have more thinkings on the Phpmyadmin Automatic testing after reading more codes.
> ========================Code Learning====================
> Following is my code learning:
You don't have to learn everything from the code, we have much of that
documented:
http://wiki.phpmyadmin.net/pma/Development
> 1. why the db_create.php and some php page is stored on ROOT folder instead of libary folder? Is it because it for browser access? a link?
Yes for links and for backward compatibility with non AJAX versions.
> 2. From the code coverage report page: http://ci.phpmyadmin.net/job/phpMyAdmin%203.5/cloverphp/?
> I found that a lot of file is not included. such as the php file on the ROOT folder.
Because they are not run in any testcase and they are not included in
coverage report because of that.
> About the topic, at least two things should be done:
> 1. create more test cases to increase the code-coverage of the test-suite
> From the following data,
> Total48.55%11386 / 2345248.04%368 / 76615.79%9 / 57
> libraries47.45%10894 / 2296048.04%368 / 76615.79%9 / 57
Yes, that's one of the goals for this GSoC project.
> 2. set up the necessary scripts to automate this.
> https://github.com/adamgsoc2013/phpmyadmin/tree/master/scripts
Pretty much everything about testing is automated in build.xml in
project root.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- 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/20130325/efeaa9f6/attachment.sig>
More information about the Developers
mailing list