Solaire / GLC

Lightweight, console-based, tool which automatically detects installed games and displays them to the user.
GNU General Public License v3.0
17 stars 3 forks source link

SQLite DB core implementation and Unit tests #17

Closed Solaire closed 3 years ago

Solaire commented 3 years ago

Added SQLite core implementation:

Added 'CrateDB.sql' file in the Database folder of the Project folder. When a new database is created, the app will populate it with tables and data. Any future schema changes should be added to both the 'CreateDB' file and a separate .sql file (eg. Schema_1.0.1.sql) so that the app can auto-update (maybe in the future, download any schema updates from the internet?)

Added UnitTest project to the solution and added some database connection and query tests. We should probably aim to add tests with each new feature or bug fix.

TODOs:

NOTEs:

Solaire commented 3 years ago

@Nutzzz let me know what you think about this

Nutzzz commented 3 years ago

Looks like a great start!