Aaron L
735012c4e9
Add optional password-ability to tests
2016-07-31 21:24:33 -07:00
Patrick O'brien
4fcfcfe24c
Finished hook tests
...
* Fixed hook bug
2016-07-16 01:21:09 +10:00
Patrick O'brien
81883d5f75
Finish update tests
...
* Add SetMerge helper
* Add quotes around all column names in statements
* Fix blacklist bug in RandomizeStruct
* Split up update helper
2016-07-15 20:14:47 +10:00
Aaron L
95ef4ce74b
Allow debug to be toggled by a flag.
2016-07-14 22:45:43 -07:00
Patrick O'brien
4036786b6a
Got insert testing in a better state
...
* Split up insert function for testing
* Add DBType to global state
* Move test reflection helpers to testing.go
* Add incremental seed to randomizeField to avoid duplicate constraint
error messages
* Fixed Viper SSL default bug
* Fixed pgpass SSL inclusion bug
* Add MakeStringMap strmangle helper
* Change test errors from error to skip
2016-07-14 02:51:40 +10:00
Aaron L
2b666e74de
Add postgres sslmode to configuration.
2016-07-11 15:17:49 -07:00
Patrick O'brien
7a0b84848f
Add more tests to insert template tests
...
* Add helpers to assist with template tests
* Change null []byte from string to []byte
2016-07-06 16:02:35 +10:00
Aaron L
85ff9a797a
Merge conflict resolution (late)
2016-06-27 00:02:10 -07:00
Aaron L
0e7c2561db
Correct test running.
2016-06-26 23:59:27 -07:00
Patrick O'brien
4412026e63
Change testmain config load to viper & vala
2016-06-27 14:53:23 +10:00
Patrick O'brien
6ee58a6529
Fixed the same bugs I already fixed (again)
2016-06-14 22:58:46 +10:00
Aaron L
8757c8a184
Refactor entire project :D
...
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07:00