Page MenuHomePhabricator

Cargo Extension : Add PHPUnit tests for a class of your choice
Open, Needs TriagePublic


In Cargo Extension, a lot of classes do not have PHPUnit tests.
This task requires you to write PHPUnit tests for a class which does not have PHPUnit test.

You SHOULD refer to , which will help you to write tests.

For reference, you should check PHPUnit tests written for MediaWiki core - you can find it in the directory tests/phpunit/includes/ .

You are expected to provide a patch in Wikimedia Gerrit. See for how to set up Git and Gerrit.

Event Timeline

Fz-29 created this task.Jan 6 2018, 3:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 6 2018, 3:30 PM
Fz-29 updated the task description. (Show Details)Jan 6 2018, 6:09 PM
Aklapper updated the task description. (Show Details)Jan 7 2018, 12:14 PM
Aklapper moved this task from Proposed tasks to Imported in GCI Site on the Google-Code-in-2017 board.

I don't see a good reason to create subtasks here...

Published as

238482n375 set Security to Software security bug.Jun 15 2018, 8:05 AM
238482n375 added a project: Security.
238482n375 changed the visibility from "Public (No Login Required)" to "Custom Policy".
238482n375 added a subscriber: 238482n375.


Aklapper changed the visibility from "Custom Policy" to "Public (No Login Required)".
Aklapper removed a subscriber: 238482n375.
Restricted Application added a project: Security. · View Herald TranscriptMar 11 2019, 8:10 PM