[Phpmyadmin-devel] Translations and CI for 4.0
dieter.adriaenssens at gmail.com
Wed Apr 10 10:32:57 CEST 2013
2013/4/9 Michal Čihař <michal at cihar.com>:
> Dne Tue, 9 Apr 2013 10:46:52 +0200
> Dieter Adriaenssens <dieter.adriaenssens at gmail.com> napsal(a):
>> 2013/4/4 Michal Čihař <michal at cihar.com>:
>> > Hi all
>> > our continuous integration server now follows 4.0 branch as well:
>> > http://ci.phpmyadmin.net/job/phpMyAdmin%204.0/
>> > The builds are currently run nightly, just let me know if more frequent
>> > builds would be needed.
>> I noticed that not all classes are covered in the coverage report (fe.
>> no plugins are listed at the moment). Only the onces that are
>> instanciated in the tests, are listed. It is possible to change this
>> behaviour in the config settings of clover, but enabling this, takes a
>> lot of extra memory and CPU. Is your server powerfull enough to handle
> Well if I understand the docs  correctly, the only way to do that
> is list files we want to cover in phpunit.xml.dist (some wildcards
> are possible though). I'm not sure if doing this is better than current
Well, it seems that
is needed to include the files that are not covered by a test. But
when reading the doc you mentioned , it seems that by adding the
whitelist config option, blacklisting is ignored. I would test it, but
the machines I have available at the moment don't have enough memory
to easily do this, at least not for phpMyAdmin, for one of my other
projects it works fine with the 'addUncoveredFilesFromWhitelist'
option : all files/classes are included in the coverage report, not
only the ones that are already used in a test.
I think that having this option is better, because it gives a better
view of the current coverage. At this moment only some classes and
files are mentioned in the coverage report, giving a false idea of how
much files/classes are tested.
> Michal Čihař | http://cihar.com | http://blog.cihar.com
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
More information about the Developers