-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Improve tests coverage #93
Comments
I'm looking at
|
We just need to support ctx as a first parameter and use it for cancelation
I'm not sure if it is really necessary, because we can make httptest.Server to respond to URL without any mocking of |
OK, thx for your answers, I'll try to implement it this week |
- added test for covering Send
- added test for covering Send
- added test for covering Send
The overall coverage is not what impressive and there are a few important files/units we would like to cover first:
proc/processor.go
- not tested, but should be easy to do, all deps in interfaces alreadyproc/twitter.go
- the primary method Send is not covered. Needs some abstractions for testing as it hits anaconda directlymain.go
- we need some integration tests. Running a local httptest to serve feeds with local mp3 and check resulting feed will be very nice. main has no termination support which needed to such a testproc/telegram.go
- Send is not covered Add tests to telegram package #87The text was updated successfully, but these errors were encountered: