Add API output tests #175
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.