[Phpmyadmin-devel] CloverPHP and PHPUnit Tests

Ayush Chaudhary ayushchd at gmail.com
Mon Feb 11 15:22:17 CET 2013


On Monday, 11 February 2013 at 7:46 PM, yasitha pandithawatta wrote: 
> 
> 
> On Mon, Feb 11, 2013 at 4:14 PM, Ayush Chaudhary <ayushchd at gmail.com (mailto:ayushchd at gmail.com)> wrote:
> > Hi,  
> > 
> > When I run the tests on my local machine, a couple of tests fail and a few are skipped. One of the failing tests related to header location (test/libraries/core/PMA_headerLocation_test.php) does not seem to a part of CI as its not listed here [0]  
> > 
> > Also, the CloverHTML report generated seems approximately equal to the one here [1] Is that because I am running PHP_CodeCoverage 1.2.7 and the CI server is using 1.1.2? Or could it because of a few tests that are related to the OS and other configurations which differ on my machine and the live CI server?  
> > 
> > Also, if there are some tests which are not a part of CI server, are they present in an xml configuration or something? I couldn't locate it yet. 
> 
>    Hi Ayush,
> 
>    For some test cases they refer to some configurations configured in phpunit.xml.dist file under root directory. You may have to configure it according to your environment. Eg: url, browser, username, password etc.
> > 
> > [0] http://ci.phpmyadmin.net/job/phpMyAdmin/lastCompletedBuild/testReport/(root)/ (http://ci.phpmyadmin.net/job/phpMyAdmin/lastCompletedBuild/testReport/%28root%29/) 
> > [1] http://ci.phpmyadmin.net/job/phpMyAdmin/cloverphp/
> > 
> > Thanks!
> > -- 
> > Ayush Chaudhary
> > 
> > 
> > ------------------------------------------------------------------------------
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> > _______________________________________________
> > Phpmyadmin-devel mailing list
> > Phpmyadmin-devel at lists.sourceforge.net (mailto:Phpmyadmin-devel at lists.sourceforge.net)
> > https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> > 
> 
> 
> 
> -- 
> Yasitha Pandithawatta 
> Undergraduate
> Computer Science and Engineering Department
> University of Moratuwa
> Sri Lanka 
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013 
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> 
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net (mailto:Phpmyadmin-devel at lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> 
> 

Hi,  

I have setup the configuration according to my environment. The only issue is that only a couple of tests cause failures/errors. Also, the Clover report is not "exactly" the same as I mentioned above. And most of the errors are from PMA_headerLocation_test which I cannot see on the CI server. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130211/09628033/attachment.html>


More information about the Developers mailing list