Commit graph

8 commits

Author SHA1 Message Date
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