We should setup test code coverage analysis, so we can see what code is actually tested
Version: unspecified
Severity: enhancement
URL: http://gcov.php.net/
We should setup test code coverage analysis, so we can see what code is actually tested
Version: unspecified
Severity: enhancement
URL: http://gcov.php.net/
Title | Reference | Author | Source Branch | Dest Branch | |
---|---|---|---|---|---|
Detect images following a pipe, as unnamed tempate arg | repos/structured-data/section-image-recs!5 | mlitn | T335180 | main |
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/
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
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.