Page MenuHomePhabricator

Add testing framework to wmfdata-python
Closed, ResolvedPublic

Description

Description

This task would look into and implement a testing framework like pytest for wmfdata-python. Beyond pytest, we could also consider adding a test coverage check like pytest-cov. The documentation should also be updated to let contributors know what is expected of them as far as running the testing suite prior to a pull/merge request. Eventually running the test suite on opened/updated PRs should be considered, but this is blocked by a potential migration from GitHub to GitLab.

Note: this task came from a discussion in T348999: Add linter and formatter to wmfdata-python (and link check).

Contribution

Happy to work on this myself after a discussion the changes that need to be made :)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
AndrewTavis_WMDE renamed this task from Adding testing framework to wmfdata-python to Add testing framework to wmfdata-python.Oct 23 2023, 3:40 PM
Manuel moved this task from Incoming to To-Do on the Wikidata Analytics (Kanban) board.
nshahquinn-wmf raised the priority of this task from Low to High.Oct 28 2024, 5:24 PM
nshahquinn-wmf lowered the priority of this task from High to Medium.