Skip to content

Create automated testing #19

@SocksTheWolf

Description

@SocksTheWolf

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 issuesenhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions