Page MenuHomePhabricator

[EPIC] Add a voting test code coverage report to gate pipeline
Closed, DuplicatePublic

Event Timeline

greg raised the priority of this task from to Medium.
greg updated the task description. (Show Details)
greg subscribed.

For MediaWiki core, the PHP code coverage is done twice per day because it takes two hours to generate ( build time trend).

Timo talked about potentially generating coverage for the JavaScript as well but I am unsure whether anything started.

Regardless, 2 hours is way too long and I am tempted to decline this task in our current state. It is potentially solvable though, a few ideas:

  • actually spend time speeding up PHP tests
  • figure out how to get coverage with HHVM and potentially up PHPUnit (we use Zend / xdebug / PHPUnit 3.x).
  • split true unit tests and the integration tests

Which is essentially what I said on the parent task T100294#1322186 :-D

yeah, sorry, this might be a straight dupe of that one, the tasks relating to this topic are a bit over-lapping...

Creating a task is cheap so there is no problem in abusing the create button :-]