-
Notifications
You must be signed in to change notification settings - Fork 45
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
Implement unit tests for telegram.go #307
Comments
Discussed in 2020-05-23 meeting. Release-blocking: No@kennedy was interested in this work, and since it is not release-blocking, it is okay if this does not make it into the v2.0.0 release. We should revisit this issue in next week's meeting to figure out what next steps are here. |
|
Discussed in 2020-11-01 IRC/Telegram meeting. The testing sprint begins! I am taking this one on to get more familiar with the Telegram side of things and to get more comfortable with unit testing. Aiming for completion by end of sprint, 15 November. |
Discussed in 2020-11-15 meeting. Blocked on #343. @Zedjones mentioned a NodeJS project that runs a local "mocked" Telegram API. We could potentially use this for something closer to integration testing. Since @Zedjones is already looking at GitHub Actions for migrating some of our CI and release automation processes into GitHub Actions, this issue is marked as See #343 for more info. |
Summary
Before we write unit tests for the main
telegram.go
file, we need to determine the method of testing that works best for the scope of this file.Since
telegram.go
makes heavy use of external libraries and functionality, we need to have a way to properly mock all of these external calls so we can efficiently test the desired functionality.The text was updated successfully, but these errors were encountered: