Commit graph

19 commits

Author SHA1 Message Date
Patrick O'brien
e99bb09856 Added finisher template tests
* Added randDate function
2016-06-11 00:22:08 +10:00
Patrick O'brien
8cb58511a0 Finish Find template tests
* Add reflect import to template tests
2016-06-10 18:53:15 +10:00
Patrick O'brien
fb34fa6dab Fix delete template test bug
* Begin Find template tests
2016-06-10 15:44:20 +10:00
Patrick O'brien
d211550706 Split Delete tests appropriately 2016-06-10 15:38:58 +10:00
Patrick O'brien
9ede42c577 Added args to delete query builder
* Fixed delete query builder WHERE bug
* Finished Delete template tests
2016-06-10 15:20:26 +10:00
Patrick O'brien
c34f09aa55 Added helpers tests
* Added slice and singular object helper for primaryKeyArgs
2016-06-10 14:40:02 +10:00
Patrick O'brien
ecb20cca4a Added RandomizeSlice function 2016-06-10 12:09:48 +10:00
Patrick O'brien
1e412cec74 Added COUNT function to select query builder 2016-06-10 09:43:45 +10:00
Patrick O'brien
7aba7104a5 Fix null package imports, finish Bind
* Fix randomizeStruct time randomization
* Defer close sql.Rows
* Begin Delete test template
2016-06-08 15:45:34 +10:00
Patrick O'brien
3152eed170 Added debug mode, test singles
* Where statement OR/AND support
* Added null-extended library to use different data types
* Added disable triggers function for test main
2016-06-03 07:07:51 +10:00
Patrick O'brien
c2541ea56e Begun implementing all tests
* Added randomizeStruct
* Added under development warning to readme
* Restructured the reflection stuff a bit
* Added a testmangle.go file for template test functions
2016-05-17 20:00:56 +10:00
Patrick O'brien
4b12c849fc Added some querymods
* Added finishers that are broken
* Added some template stuffs
* Added a TestTemplates file output line thingy
2016-04-16 15:17:25 +10:00
Patrick O'brien
d89d23e673 Began implementing the ORM prototype
* Hooks, query mods, and query
* Update and UpdateX
2016-04-13 23:51:58 +10:00
Patrick O'brien
d949f68ed0 Finished postgres TestMain template 2016-04-09 09:45:44 +10:00
Patrick O'brien
d3aeb7375d Added template sorter, MainTest separation
* Moved MainTests into a dedicated folder
* Added sorter for templates (sorts structs to top)
* Fixed all the broken tests
* Tidied up output.go functions
* Only creating one MainTest (main_test.go) per app run now
* Split test imports up into normal test imports & main test imports
2016-04-07 06:10:12 +10:00
Patrick O'brien
f7a4ed0c54 Did more stripping, fixed broken things
* Fixed broken template
* Did some reorganizing
* Need to fix TestTemplates test
2016-03-28 18:17:41 +10:00
Patrick O'brien
c74ed4e75f Added drivername, custom driver imports
* Split main test based off driver name
2016-03-26 17:08:27 +10:00
Patrick O'brien
48a9ba8d29 Added main template test file, fixed errors
* Fixed TestTemplates bug (now shows compile errors properly)
* Fixed all compile errors for templates (except test templates)
* Added conditional imports for column types
2016-03-23 13:08:35 +10:00
Patrick O'brien
3b0a5e80a1 Finished adding test template generation support 2016-03-21 15:15:14 +10:00