[go: up one dir, main page]

Page MenuHomePhabricator

Make code in the intersection from math and wikibase testable
Closed, ResolvedPublic

Description

I am a bit concerned that all the new code does not have tests. I suggest we add some basic tests following the example of how Wikibase does tests internally.

For example, SpecialListProperties is conceptually similar to SpecialMathWikibase. If we

  • transform MathWikibaseConnector into a service
  • transform MathWikibaseConfig into a service
  • Introduce a FactoryClass for SpecialMathWikibase
  • Write a test for SpecialMathWikibase

we have a solid concept to test changes that interact with wikidata.

Event Timeline

Change 815777 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Transform MathWikibaseConnector into a service

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

Change 815777 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Transform MathWikibaseConnector into a service

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

Change 815902 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Transform MathWikibaseConfig into a service

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

Change 815902 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Transform MathWikibaseConfig into a service

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

Physikerwelt updated the task description. (Show Details)
Physikerwelt updated the task description. (Show Details)

@Andreg-p do we still want this, or should we just close it?

@Physikerwelt we implemented many tests already. I think we just forget to close this task. Can be closed, in my opinion.

Physikerwelt claimed this task.