-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit Test cases missing? #3
Comments
Ah, yeah, I never got around to writing test cases for this package (it was the very first one) and the guidelines for implementing new providers was written afterward. Since this is also kind of a reference implementation, it should probably have unit tests. Unfortunately I won't have time for a while to work on that. :( However, anyone is welcome to contribute them! To answer your question, though, just use Go's standard testing package: https://golang.org/pkg/testing/ -- that's about all there is to it! |
Thanks. I have found some inspiration on this project. I hope this will help someone like me :). |
I have read this wiki, I can't find test cases though it works. I'm trying to write another provider, but I don't know how to write test cases, how to write unit cases for third-part API. Is there any tips?
The text was updated successfully, but these errors were encountered: