Page MenuHomePhabricator

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

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

StatusAssignedTask
OpenNone
ResolvedJdlrobson
OpenNone
OpenNone
DuplicateNone
Resolvednray
Resolvedphuedx
ResolvedAnomie
ResolvedAnomie
ResolvedAnomie
ResolvedEBernhardson
ResolvedAnomie
ResolvedAnomie
OpenNone
DuplicateNone
ResolvedNone
Resolvedphuedx
DeclinedNone
OpenNone
Resolvedphuedx
Resolvedphuedx
OpenNone
Openpmiazga
OpenD3r1ck01
ResolvedD3r1ck01
ResolvedD3r1ck01
ResolvedD3r1ck01
ResolvedD3r1ck01
Resolvedpmiazga
OpenNone
ResolvedD3r1ck01
ResolvedNone
ResolvedD3r1ck01
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
D3r1ck01 added a subscriber: D3r1ck01.

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

D3r1ck01 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 Normal priority.Jan 11 2019, 12:54 AM