Page MenuHomePhabricator

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

Event Timeline

greg created this task.Sep 4 2015, 5:57 PM
greg raised the priority of this task from to Normal.
greg updated the task description. (Show Details)
greg added a subscriber: greg.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 4 2015, 5:57 PM

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

greg added a comment.Sep 4 2015, 6:58 PM

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 :-]

greg moved this task from INBOX to Done on the Release-Engineering-Team board.Sep 8 2015, 8:43 PM