Page MenuHomePhabricator

ApiPerformTest: Improve test coverage
Closed, ResolvedPublic

Description

Description

In particular, improve coverage for maybeUpdateImplementationRanking(), including branches that only include a logging statement followed by a return statement. (Coverage recently decreased when the logging statements were added.)

Note: this will likely require some improvements to relevant portions of the structure of ApiPerformTestTest.php

Desired behavior/Acceptance criteria

  • Higher coverage numbers.

Completion checklist

Event Timeline

Change 897410 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Improve test coverage for maybeUpdateImplementationRanking()

https://gerrit.wikimedia.org/r/897410

Change 897410 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Improve test coverage for maybeUpdateImplementationRanking()

https://gerrit.wikimedia.org/r/897410