Page MenuHomePhabricator

[GENERAL] Make PHPUnit dataProvider static in Wikibase-related extensions
Open, Needs TriagePublic

Description

Data providers that do too much work or are “too smart” repeatedly cause problems in CI (see e.g. T369357 and T371460). We should refactor our tests to do as little work as possible in the data providers, and shift everything else into the tests themselves. See also the parent task and the subtasks.

Related Objects

Event Timeline

Prio Notes:

Impact AreaAffected
production / end usersno
monitoringno
development effortsyes
onboarding effortsno
additional stakeholdersyes (might block an update to PHPUnit10)
ItamarWMDE renamed this task from Make PHPUnit dataProvider static in Wikibase-related extensions to [GENERAL] Make PHPUnit dataProvider static in Wikibase-related extensions.Aug 1 2024, 12:42 PM
ItamarWMDE moved this task from Incoming to [DOT] By Project on the wmde-wikidata-tech board.
ItamarWMDE added a project: Wikidata Dev Team.