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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 23 2018, 4:12 PM
Lea_WMDE moved this task from Proposed to Todo on the WMDE-QWERTY-Team board.Feb 6 2018, 2:53 PM
thiemowmde moved this task from Incoming to Show changes in moved text chunks on the TCB-Team board.
thiemowmde added a subscriber: jkroll.
awight renamed this task from Add more cases to the wikidiff2 unittests to Better test coverage for wikidiff2.Wed, Oct 9, 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

awight added a subscriber: hashar.Thu, Oct 10, 11:42 AM

@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.