Page MenuHomePhabricator

Better test coverage for wikidiff2
Open, Needs TriagePublic

Description

We should add more edge cases to the wikidiff unittest patch to better evaluate our diff changes, and to exercise all code paths.

  • Need test coverage analysis
  • Identify any edge-case diffs which wouldn't be handled by simply getting to 100% code coverage.
  • Write tests until everything is covered.

Event Timeline

awight renamed this task from Add more cases to the wikidiff2 unittests to Better test coverage for wikidiff2.Oct 9 2019, 3:04 PM
awight updated the task description. (Show Details)

Change 542063 had a related patch set uploaded (by Awight; owner: Awight):
[mediawiki/php/wikidiff2@master] [WIP] Script to generate test coverage report

https://gerrit.wikimedia.org/r/542063

Change 542071 had a related patch set uploaded (by Awight; owner: Awight):
[integration/config@master] [WIP] Coverage report for PHP extensions

https://gerrit.wikimedia.org/r/542071

Change 542063 abandoned by Awight:
[WIP] Script to generate test coverage report

Reason:
Moved to integration-config

https://gerrit.wikimedia.org/r/542063

@hashar If you're able to publish a new php70-compile image based on this patch, then I'll be able to smoke-test the Jenkins job and the publish step.

Change 542071 merged by jenkins-bot:
[integration/config@master] Coverage report for PHP extensions

https://gerrit.wikimedia.org/r/542071