Last modified: 2013-03-26 12:09:46 UTC
We should setup test code coverage analysis, so we can see what code is actually tested
Was looking for this today.
I have been working on it with a new shinny Jenkins job :-] At first we need XDebug and a place where to put the report : https://gerrit.wikimedia.org/r/53531 And the Jenkins job: https://gerrit.wikimedia.org/r/53532 That segfault for now :(
First repost https://integration.mediawiki.org/coverage/ The job still has some segmentation faults :-(
A @cover had a typo : https://gerrit.wikimedia.org/r/53719 CleanUpTest (for UtfNormal) were reaching the 10 seconds timeout when run under code coverage/Xdebug. Raised the timeout with https://gerrit.wikimedia.org/r/#/c/53720/
The job dashboard is at https://integration.wikimedia.org/ci/job/mediawiki-core-code-coverage/ Output is https://integration.wikimedia.org/coverage/
The job is still marked as failure because of CleanUpTest taking too long (see bug 46561). I have instructed PHPUnit to ignore coverage for them with https://gerrit.wikimedia.org/r/55875
https://gerrit.wikimedia.org/r/55876 switch the URL to https://integration.wikimedia.org/cover/mediawiki-core/master/php/
That is now living on: https://integration.wikimedia.org/cover/mediawiki-core/master/php/ There are still some culprit but the gross work has been completed now.