Page MenuHomePhabricator

[Epic] Improve PHPUnit coverage in MobileFrontend to medium
Open, MediumPublic

Description

MobileFrontend's PHP code coverage is currently very low (at time of writing this ticket, it is 27% (and low!)

See:
https://doc.wikimedia.org/cover-extensions/MobileFrontend/

We would like to improve things here, with a target of at least 50% as a starting point.

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedJdlrobson
OpenNone
DeclinedNone
DuplicateNone
Resolvednray
Resolvedphuedx
ResolvedAnomie
ResolvedAnomie
ResolvedAnomie
ResolvedEBernhardson
ResolvedAnomie
ResolvedAnomie
OpenNone
DuplicateNone
ResolvedNone
Resolvedphuedx
DeclinedNone
OpenNone
Resolvedphuedx
Resolvedphuedx
OpenNone
OpenSpikepmiazga
OpenxSavitar
ResolvedAmmarpad
ResolvedxSavitar
ResolvedxSavitar
ResolvedxSavitar
ResolvedxSavitar
Resolvedpmiazga
OpenNone
ResolvedxSavitar
ResolvedNone
ResolvedxSavitar
ResolvedNone
Resolvedphuedx
Resolvedpmiazga
OpenNone

Event Timeline

Jdlrobson created this task.Nov 5 2018, 6:56 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 5 2018, 6:56 PM
xSavitar added a subscriber: xSavitar.

hey @pmiazga ! @D3r1ck01 has expressed a desire to help us improve our PHP code coverage as a way to learn more about unit testing. I've said I'd help provide guidance and code review. I'm guessing you would also be interested in doing this?

As a short term goal we'd seek 50% code coverage, then onwards to 70+.

xSavitar updated the task description. (Show Details)Nov 6 2018, 12:59 PM

@D3r1ck01 have you seen https://tools.wmflabs.org/coverme/?repo=Extension%3AMobileFrontend&type=all ? It gives a good idea of where your tests can have the most impact!

Jdlrobson triaged this task as Medium priority.Jan 11 2019, 12:54 AM
Jdlrobson moved this task from Backlog to Team: web on the MobileFrontend board.Jul 24 2020, 3:01 PM
Jdlrobson moved this task from Team: web to Epics on the MobileFrontend board.Jul 24 2020, 3:11 PM