Add unit tests. #401

Open
opened 2026-01-19 18:30:11 +00:00 by michael · 2 comments
Owner

Originally created by @nl5887 on GitHub.

Originally created by @nl5887 on GitHub.
michael added the enhancement label 2026-01-19 18:30:11 +00:00
Author
Owner

@bugbounce commented on GitHub:

I will start on this. I need the experience :)
Any guidelines would be helpful.

@bugbounce commented on GitHub: I will start on this. I need the experience :) Any guidelines would be helpful.
Author
Owner

@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

@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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#401