woojiahao / Taiga

Discord administration bot
https://woojiahao.github.io/Taiga
MIT License
20 stars 12 forks source link

Unit Testing #15

Closed woojiahao closed 5 years ago

woojiahao commented 5 years ago

Mock discord bot connections and test the various commands to ensure they are working.

Once unit tests are introduced, bring in continuous integration.

woojiahao commented 5 years ago

Not currently possible with the current method commands are used, will be closing this for now, might re-open if a rework to the command system is made, removing the dependency between the Discord lib and the actions performed, but for now, it is not possible to construct these unit tests otherwise.