tupperward / butterbean

A bot for the WATTBA discord
2 stars 1 forks source link

There are no tests #27

Open tupperward opened 2 years ago

tupperward commented 2 years ago

Right now we have a whole application that doesn't have a test suite. @tupperward should work on this since he wrote the bot originally, but feel free to contribute as you find more things to add.

This is a lower priority issue since it's already so far behind.

glunkad commented 2 years ago

@tupperward Hey, I would like to work on this issue, so before I start working on it, would you mind sparing your time explaining what the issue is about? as I'm new to this.

tupperward commented 2 years ago

Hello @9gl! I may have mistagged this one, it should not be a good first issue because it will require a pretty thorough understanding of the application. However, here is a quick explanation of the need.

It's considered good practice to write tests while you're working on a given function. This way you can keep your code functional and robustly tested as it's being developed. I did not follow that practice when I started this project 4 years ago and now I have to go through and write many test cases to confirm the functionality of each function in the application.

This would be a long term endeavor and would require a pretty robust understanding of the application. I am fairly sure I mistagged this earlier tonight.

glunkad commented 2 years ago

Ohh