Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Create a test suite for OSM Stats #11

Closed
robsavoye opened this issue Oct 6, 2021 · 1 comment · Fixed by #42
Closed

Create a test suite for OSM Stats #11

robsavoye opened this issue Oct 6, 2021 · 1 comment · Fixed by #42
Assignees

Comments

@robsavoye
Copy link
Collaborator

The OSM Stats API needs a test suite so it can be validated via a CI system. This will primarily be unit level tests. Each class in the API module should have a test case that imports, and tests all the class methods. This should include using some bad data to test stability of the error handling.

This task will also require a small dedicated test database that can be created from within the test execution. Part of this task is deciding on the best Python testing framework. I use DejaGnu for other Python projects as it's very mature and maintained, but am open to other solutions.

As creating a test suite is a long-term project that never really ends, this task will be complete when there are tests for the currently existing functionality as of Oct, 2021, which at this stage is still relatively small.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants