Le 18/10/13 18:42, Niklas Laxström a écrit :
Too long, dont want to read: https://integration.wikimedia.org/cover/mediawiki-core/master/php/
This is very cool, apart from the numbers of course.
Is it hard to setup for extensions as well? Lots of development happens in extensions nowdays. I read from the linked bug that it is currently not possible due to bug in PHP.
I haven't looked at how to do it for extensions. All the core hooks and methods should ideally be covered by the core test suite itself, so we could discard them in the report. phpunit configuration has a <filter> which would let us get rid of core (aka includes, languages..):
http://phpunit.de/manual/3.7/en/appendixes.configuration.html#appendixes.con...
(yeah long url sorry)