Open theredcameron opened 1 year ago
Nevermind. I see that has been implemented.
I realize that the tests still depend on a direct connection to Reddit. This will still need to be 'mocked' out.
Yeah the entire testing infrastructure is broken and out of date. I'm focusing on features for now, but I'll eventually clean up the codebase
It is difficult to test the bot when Reddit PRAW and slack logging components are directly implemented within the code. Testing would be easier and safer if we were to add a layer of abstraction to the bot that enabled us to 'mock' the reddit connection and logging.