morko / salabot

Discord bot framework
Apache License 2.0
0 stars 0 forks source link

missing tests #3

Open morko opened 5 years ago

morko commented 5 years ago

Currently there is no way of testing salabot other than doing a manual system tests. There are also no documentation about how to conduct those system tests.

More importantly there should be some way of doing unit testing especially when creating plugins. Currently there is no documented way of conducting unit tests when developing plugins, which makes the development pain in the ass.

Probably some mock objects for discord.js like Message, Client, Guild and Channel objects are required to implement nice unit testing.