mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
Add unit tests. #401
Reference in New Issue
Block a user
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?
Originally created by @nl5887 on GitHub.
@bugbounce commented on GitHub:
I will start on this. I need the experience :)
Any guidelines would be helpful.
@paolafrancesca commented on GitHub:
thanks @bugbounce
I think the only parts that are unit testable are the server.go for the func options, handlers.go with a mock fulfilling the storage interface, some functions of utils.go and codec.go
I'd say the easiest is to start from server.go with the func options