Testing #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Integration test:
N.B. This is probably not necessary.
Unit tests:
traverse
function to take a parameter that skips thepublicise_it
call.traverse
publicise_it
Some decoupling needs to happen—between
get_folder_contents
andtraverse
—before unit testing would work well.traverse
would return a tuple.traverse
in a while loop, running until the vector is empty.traverse
, we run a while loop, running until we encounter a collection. We return the collection href as well as the visited items hashmap (and the Multistatus struct?).main
, we take the collection href and callget_folder_contents
, and tack the results on the end of the queue as now.get_folder_contents
with some kind of mock/stub/whatever.This application is too vapid to shoulder this burden, so we'll probably never do this. If we do, we should create a new issue for the refactor described herein.