issues
search
fraenky8
/
tables-to-go
convert your database tables to structs easily
MIT License
233
stars
42
forks
source link
ISSUE-10: Add unit tests
#17
Closed
fraenky8
closed
5 years ago
fraenky8
commented
5 years ago
This PR fixes #10 and does the following:
[x] Refactor the packages to use DI and therefore enable proper unit testing
[x] Add unit tests for the
Run()
function for every supprted database and its datatypes:
[x] String/Text data type
[x] Integer data type
[x] Float data type
[x] Temporal data type
[x] Special data types like booleans
[ ] Add unit tests for all other files including
[ ] databases:
[ ] mysql
[ ] postgresql
[x] outpts:
[x] decorator
[x] writer
[x] tagger:
[x] db (covered by standard
Run()
function)
[x] mastermind
[ ] sql
[x] settings
[ ] Add units test for error cases
[x] Increase overall test coverage
[x] Add Scrutinizer support
This PR fixes #10 and does the following:
Run()
function for every supprted database and its datatypes:Run()
function)[ ] sql