skiqqy / C45DiscordBot

Proprietary™ (Thats a joke btw) C45 discord bot.
MIT License
2 stars 1 forks source link

Improve unit testing and code structure #17

Open DavidBakerEffendi opened 4 years ago

DavidBakerEffendi commented 4 years ago

Currently, we don't test the code in a robust fashion. The code is also very coupled so one may need to make a few architectural changes to separate concerns between functions and modularize it to make it very easy to test. Many of the functionality can be separated into small, easily testable pure functions.