Page MenuHomePhabricator

Write tests for MinusX
Open, LowestPublic

Description

We should have integration test coverage for MinusX. Maybe we can use https://github.com/mikey179/vfsStream to mock the filesystem, I haven't fully investigated yet. If not, we can just a temporary directory.

If you're not familiar with PHPUnit 6, https://phpunit.de/getting-started/phpunit-6.html has a basic guide. The git repository for MinusX can be found in Gerrit as mediawiki/tools/minus-x.

Mentors: @Legoktm

Event Timeline

Legoktm triaged this task as Lowest priority.Jan 10 2018, 12:43 PM
Legoktm created this task.

@Legoktm . From (https://phpunit.de/getting-started/phpunit-6.html) since PHPUnit 6 is going to be not supported in February 2019. Would it be a good idea if we start using PHPUnit 7 for this task. (Just a suggestion, honestly I'm not too familiar with php)