-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
criticalTackle sooner than other issuesTackle sooner than other issuesenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
It would be great to have a series of unit tests built in that could be ran and validated against. I'm not aware of any python unit test frameworks and their functionalities, so this would require a bit of research.
Scope of task is as follows:
- Find unit test library to use
- Create bot in discord developer center for just testing
- Implement multiple unit test cases (see below)
- Create testing folder for handling said tests
Tests to run:
- Command sent for banning
- Command sent for unban
- Banning in a server
- Banning without permissions
- Invalid input checking
- more as necessary
On finish of this task, a creation of a new task to have the system automate a test run on python commits/merge requests should be made.
This task should wait until #3 is completed, and probably should wait until #28 is too
Metadata
Metadata
Assignees
Labels
criticalTackle sooner than other issuesTackle sooner than other issuesenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested