ZumitoTeam / zumito-framework

Framework for creating a bot for discord
https://framework.zumito.dev
7 stars 1 forks source link

[➕] Add a test system #21

Open fernandomema opened 1 year ago

fernandomema commented 1 year ago

Currently, our project does not have a unit testing system to ensure that our code works correctly in different situations. Therefore, I propose implementing a unit testing system that will allow us to validate our code more efficiently.

As we do not know of any libraries that fit our specific project, we are seeking help from someone who has experience implementing unit testing systems in projects that use database and discord.js libraries. Additionally, we have encountered some key problems, such as the difficulty of mocking these libraries.

However, the benefits of having a unit testing system are multiple:

In summary, adding a unit testing system will allow us to improve the quality of our code, detect errors more efficiently, and have more confidence when making changes. We are seeking the help of an expert to implement this system in our project, especially regarding the database and discord.js libraries.