CSC207-2022F-UofT / course-project-bill-gates

A bill recording software developed by team "Bill Gates."
9 stars 4 forks source link

[+] Added Unit tests for MySQLDatabaseGateway & Extra modifications within the class #31

Closed Lei-Tin closed 1 year ago

Lei-Tin commented 1 year ago

This is a general update to the MySQLDatabaseGateway class. Where I attemped to fix several bugs that I didn't notice before, and created a full test suite.

Updated information includes:

CAUTION

Do not attempt to run the test suite too often, as it involves A LOT of database manipulation queries. To be specified, every time the test suite is ran, for each test case, we will create a temporary bill and insert 2 entries in there. Therefore, running this test suite too often may cause potential issues with the Azure server of Scott.

Side note

I'm still trying to get the autograder on GitHub to work, we will see about that in a few days

-- Update I have figured out the test case issue, and I have already included the changes in gradle within this Pull Request!

ScottCTD commented 1 year ago

TODO:

42