Closed Tjzabel closed 4 years ago
Discussed in 2020-05-23 meeting.
What is needed for this issue that is not already covered in the existing tests?
https://github.com/RITlug/teleirc/blob/master/internal/handlers/irc/irc_test.go
Discussed in 2020-11-01 IRC/Telegram meeting.
The testing sprint begins! @Zedjones is taking this one on since he has the most prior experience working with the IRC side of things.
Discussed in 2020-11-15 meeting.
We talked this one through, and without setting up an actual IRC server to test with, there is not much more we can do on this one. In the meeting, we agreed to close this as wontfix
because the cost of creating tests is greater than the benefit they would bring us. IRC functionality is sufficiently tested.
Summary
Before we write unit tests for the main
irc.go
file, we need to determine the method of testing that works best for the scope of this file.Since
irc.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.