Add API output tests #175

Open
opened 2023-12-11 00:33:31 -05:00 by joshuaboniface · 0 comments

Automatic tests have been an internal debate for me for quite some time. As I was not a "proper" software developer when this project started, I wrote much of the code without any concern for tests. However a few recent bugs during refactors have made me reconsider the lack of tests, especially in terms of validating API output.

Tests should be added to, at the very least, validate the output of the Flask API is consistent with expectations.

The biggest blocker has always been how to emulate the zkhandler/Zookeeper backend for tests in a reasonable way, so this is step one.

Automatic tests have been an internal debate for me for quite some time. As I was not a "proper" software developer when this project started, I wrote much of the code without any concern for tests. However a few recent bugs during refactors have made me reconsider the lack of tests, especially in terms of validating API output. Tests should be added to, at the very least, validate the output of the Flask API is consistent with expectations. The biggest blocker has always been how to emulate the `zkhandler`/Zookeeper backend for tests in a reasonable way, so this is step one.
joshuaboniface added this to the 1.0 milestone 2023-12-11 00:33:31 -05:00
joshuaboniface added the
API
improvement
labels 2023-12-11 00:33:31 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: parallelvirtualcluster/pvc#175
No description provided.