Commit graph

24 commits

Author SHA1 Message Date
Aaron L
e5edef144b Fix up postgres main just like mysql 2016-09-13 21:46:58 -07:00
Aaron L
76b75dfaaa Remove foreign keys from mysql dump 2016-09-12 22:43:29 -07:00
Aaron L
1b5cea823f Get mysql tests running.
- Needs disabling of Foreign Key constraints + upsert deletion to have a
  chance of working.
2016-09-11 23:50:11 -07:00
Aaron L
d183ec4bb5 Postgres works again after refactor 2016-09-11 23:50:11 -07:00
Aaron L
9d29d2b946 Refactor all the bits.
- Make TestMain be driver-based
- Move config to TestMain file
- Make config a little more sane in pgmain
2016-09-11 23:50:11 -07:00
Aaron L
9553f462c7 Merge branch 'sets' 2016-08-28 23:29:47 -07:00
Patrick O'brien
95ff24b918 Add --no-hooks feature 2016-08-28 20:48:50 +10:00
Aaron L
c1962eb7ac Get all the tests running properly 2016-08-26 22:04:49 -07:00
Aaron L
2567a60a25 Rename some files to keep sanity 2016-08-17 23:48:37 -07:00
Aaron L
22cf8091a9 Add the running of to_one tests.
- Fix the running of one_to_one tests.
2016-08-16 22:14:07 -07:00
Patrick O'brien
8b6a2f7852 Break up test suite further to avoid dead locks 2016-08-16 14:07:15 +10:00
Patrick O'brien
76d4b84019 Convert all tests to go 1.7 Run format
* This fixes postgres deadlocks
2016-08-15 19:36:38 +10:00
Aaron L
f40688cfe3 Refactor Update & Insert tests.
- Added additional checking to statements for drivers that support a
  number of results affected.
- Changed the way we keep imports around for compare values
2016-08-13 23:38:41 -07:00
Aaron L
ac549c9207 Make sqlboiler respect environment
- Stop failing on config file load, use the validation in the test
  config stuff.
2016-08-05 22:15:18 -07:00
Patrick O'brien
8a3a08baa0 Finish upsert, most of upsert tests
* Fix Upsert hooks
* Rename singleton template files
2016-08-05 00:26:39 +10:00
Patrick O'brien
726fae9af1 Add MustTx helper, move deletes to bottom of tests 2016-07-15 15:32:36 +10:00
Patrick O'brien
013b3ae0f8 Added more reflect helpers 2016-07-09 02:39:36 +10: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
Patrick O'brien
fc1eff4d83 Merge branch 'master' of github.com:nullbio/sqlboiler 2016-06-27 18:34:55 +10:00
Patrick O'brien
b0e0369b26 Removed unecessary print 2016-06-27 18:34:03 +10:00
Aaron L
85ff9a797a Merge conflict resolution (late) 2016-06-27 00:02:10 -07:00
Patrick O'brien
4412026e63 Change testmain config load to viper & vala 2016-06-27 14:53:23 +10:00
Patrick O'brien
3352220c53 Merge branch 'master' of github.com:nullbio/sqlboiler 2016-06-12 16:50:38 +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