Page MenuHomePhabricator

Consider using WikidataToolkit for testing
Closed, ResolvedPublic

Description

We are using custom classes to communicate with Wikibase API for testing. However, WikidataToolkit already has APIs doing what we need. We may want to consider switching to using those classes for tests, so we do not have to maintain that code.

Example of how Wikidata Toolkit works is here: https://github.com/Wikidata/Wikidata-Toolkit/blob/master/wdtk-examples/src/main/java/org/wikidata/wdtk/examples/EditOnlineDataExample.java

Javadocs are here: https://wikidata.github.io/Wikidata-Toolkit/overview-summary.html

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Vvjjkkii renamed this task from Consider using WikidataToolkit for testing to 9wdaaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii raised the priority of this task from Low to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 9wdaaaaaaa to Consider using WikidataToolkit for testing.Jul 2 2018, 7:23 AM
CommunityTechBot lowered the priority of this task from High to Low.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Gehel claimed this task.
Gehel subscribed.

We've instead replace some of the tests with WIremock and are trying to remove the dependency on Wikidata from the tests.