ErythroGuild / irene

<Erythro>'s server admin bot.
Mozilla Public License 2.0
0 stars 0 forks source link

Investigate adding unit testing #163

Open Ernest314 opened 2 years ago

Ernest314 commented 2 years ago

See:

This would be nice to have. The implementation is obvious for things like RecurringEvent but less so for all of the more interactive components (a lot of mocking might be required).

Ernest314 commented 2 years ago

xUnit seems like the best framework to use :)

Ernest314 commented 1 year ago

Use deepl-mock to mock DeepL API for /translate (otherwise tests will use up the actual character quota). The supported test text is "proton beam".