forked from suchipi/link-fixer-discord-bot
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Purpose
As the codebase gets larger (especially with the DB support), bugs will be more frequent and the project will be harder to maintain.
Adding testing will also make it easier to track existing features as well as more reliability when it comes to implementing new features.
General Implementation
Use something orthodox like Mocha or Jest?
- Set up
tests/directory - Add
npm testscript topackage.json - Write scaffolding
- Write tests
Scope
- Commands
- Test command generation
- (w/ i18n) command localization etc. (low priority)
- i18n
- Make sure locale loading+processing is working
- Keep track of which locales/text labels are (un)supported
- Logging
- Log routing
- Log level filtering
- DB (Future)
- Queries (might be high? priority)