Open Samwalton9 opened 4 years ago
Per the note in https://github.com/catleeball/tmnt_wikipedia_bot/issues/12, this project needs tests!
In https://github.com/catleeball/tmnt_wikipedia_bot/pull/15 I added tests for all the functions in words.py, but there's still room for more in other areas of the code.
We might want to use vcrpy to mock responses for Twitter/Wikipedia/Mastodon/Glench to test those areas of the code.
Thanks again for #15 ! vcrpy is a good suggestion, if I get some spare cycles to work on this bot some more, I'll give it a whirl for response mocking in some more tests. 🙂
Per the note in https://github.com/catleeball/tmnt_wikipedia_bot/issues/12, this project needs tests!
In https://github.com/catleeball/tmnt_wikipedia_bot/pull/15 I added tests for all the functions in words.py, but there's still room for more in other areas of the code.
We might want to use vcrpy to mock responses for Twitter/Wikipedia/Mastodon/Glench to test those areas of the code.