Commit Graph

218 Commits

Author SHA1 Message Date
Brian Hendriks 919beec6e6 change file based remotes storage dir 2019-06-12 10:23:01 -07:00
Brian Hendriks 731ad98bd2 bats test for file:// remote 2019-06-12 10:23:01 -07:00
Brian Hendriks f5264ba8dd bats fixes
insecure parameter no longer supported.  Changed bats test to use http:// instead
changed lastSegment to be more flexible and work with different remote formats
2019-06-11 14:47:56 -07:00
Brian Hendriks d49955d7bd dbfactory 2019-06-11 14:47:56 -07:00
Matt Jesuele decf29f807 dolt/{bats,go}: git dolt errors on unknown commands 2019-06-11 09:59:24 -07:00
Matt Jesuele 9b80f3c787 dolt/bats/git-dolt.bats: Rework test for when dolt is not installed 2019-06-11 09:59:24 -07:00
Matt Jesuele eb5d30cf2d dolt/{bats,go}: Better error handling per PR feedback 2019-06-11 09:59:24 -07:00
Matt Jesuele 888ebe309d dolt/{bats,go}: Git-Dolt v0! 2019-06-11 09:59:24 -07:00
Zach Musgrave 0ebaf6bc0b Unskipped tests of deleting a column now that it no longer panics 2019-06-10 15:41:29 -07:00
Zach Musgrave 00f9bc03f7 Merge pull request #1408 from liquidata-inc/zachmu/sql-schema-backticking
Quote the column names in SQL schema strings with backticks, so that our create table strings can actually be used to create tables even when the column names are reserved words or don't otherwise parse.
2019-06-10 14:17:18 -07:00
Zach Musgrave 93fbb9aaf4 Fixed more failing bats test from backticking identifier names in create table strings 2019-06-10 14:13:21 -07:00
Zach Musgrave 1c33cd6615 Fixed bats schema tests with new schema output format (backtick quoted identifiers) 2019-06-10 13:41:20 -07:00
Matt Jesuele 2d53bb9509 dolt/bats/remotes.bats: Add skipped bats test for cloning an empty remote 2019-06-06 17:02:42 -07:00
Brian Hendriks bbe701fe3c when cloning, prefer to set the active branch to master 2019-06-04 13:12:26 -07:00
Zach Musgrave 81f7661f7a Unskipped newly working bats test 2019-05-29 09:34:18 -07:00
Zach Musgrave 8db515e626 Fixed another unsupported query in bats test 2019-05-28 09:46:32 -07:00
Zach Musgrave f0bf052ef2 Fixed SQL tests that used column aliases in joins and where clauses, which is not supported anymore. 2019-05-28 09:36:25 -07:00
Zach Musgrave dd27ea2856 Unskipped reserved word test 2019-05-24 17:00:07 -07:00
Zach Musgrave 90677b4ec5 Fixed error message change failure in bats test 2019-05-23 14:43:29 -07:00
Zach Musgrave d4fe8f07dc Made it an error to update a primary key column 2019-05-22 13:59:15 -07:00
Zach Musgrave a2cc88d9b5 Fixed error message for select without a table. 2019-05-22 13:50:33 -07:00
Zach Musgrave 32756c8729 Fixed a bug in missing primary key detection, fixed error string tests in bats (and added a few more tests) 2019-05-20 15:42:57 -07:00
Brian Hendriks e0c8a7cbd6 test fixes 2019-05-20 14:42:04 -07:00
Zach Musgrave 4b9855a619 Unskipped limit -1 test, added one for offset 2019-05-16 15:16:59 -07:00
Timothy Sehn c7864877a5 Added update primary key test 2019-05-14 17:57:36 -07:00
Zach Musgrave 9b0bf2badf Remove unnecessary checks in bats tests 2019-05-14 16:21:58 -07:00
Zach Musgrave 8848a2bd6b Remove unnecessary checks in bats tests 2019-05-14 16:20:21 -07:00
Zach Musgrave 81eacf6ed5 Unskip tests for bug fixed, skip new tests for new bugs found 2019-05-14 16:11:20 -07:00
Timothy Sehn addcce072f Execute an actual query using sql shell test 2019-05-14 14:24:30 -07:00
Timothy Sehn 7440ed2d9e Added a sql shell test file and basic launch tests 2019-05-14 14:16:49 -07:00
Zach Musgrave 842bf4e988 Merge pull request #1295 from liquidata-inc/zachmu/sql-repl2
Dolt SQL shell
2019-05-14 13:53:39 -07:00
Zach Musgrave 0c854ed4c4 Dolt SQL shell. Also added methods to construct a VerboseError from an error, and to get the dolt dir from an env. 2019-05-14 13:10:48 -07:00
Timothy Sehn 3a46882006 Update README.md 2019-05-13 14:20:01 -07:00
Timothy Sehn 426f45c943 More order by and limit tests. Added skipped for limit -1 test which is broken right now 2019-05-13 11:34:39 -07:00
Timothy Sehn 59d42e7953 Added order by and limit sql tests. Renamed tests to make sql testing more explicit 2019-05-13 11:22:11 -07:00
Timothy Sehn 18ebb839e2 Merge pull request #1270 from liquidata-inc/tim/branch-name-test
added test for / characters in branch names
2019-05-13 10:30:42 -07:00
Zach Musgrave de2b971b70 Merge pull request #1272 from liquidata-inc/zachmu/sql-order
Support order by in SQL queries
2019-05-13 10:09:04 -07:00
Zach Musgrave 851a8d9f99 Fixed bats tests from changed error messages 2019-05-10 17:05:16 -07:00
Timothy Sehn 964ab4cc5d added test for / characters in branch names 2019-05-10 16:25:52 -07:00
Timothy Sehn 8cacda610b Added explicit check for no conflicts on no conflict tests 2019-05-10 12:35:58 -07:00
Timothy Sehn 52bbbb11e9 Removed duplicate tests for conflict detection 2019-05-10 12:31:37 -07:00
Timothy Sehn 09790a1636 Added back accidentally removed } 2019-05-10 12:29:28 -07:00
Timothy Sehn 99a6205b32 Merge branch 'master' into tim/conflict-detection-tests 2019-05-10 11:51:06 -07:00
Timothy Sehn c52fc9c229 Final conflict detection tests 2019-05-10 11:49:12 -07:00
Timothy Sehn c8dbde89fb Added more tests and scaffolds for ones I want to add. Commiting and pushing so I don't lose it 2019-05-09 17:57:36 -07:00
Timothy Sehn c2949b5ec2 First pass at conflcit detection tests 2019-05-09 17:20:01 -07:00
Timothy Sehn 0ad3459074 Made a conflict detection test file and moved first test there 2019-05-09 16:09:44 -07:00
Timothy Sehn 9b4258c8b4 Added new table created diff test 2019-05-09 16:02:10 -07:00
Zach Musgrave bbafb98fc4 Merge pull request #1242 from liquidata-inc/zachmu/sql-types
Unskip bats tests for newly supported bool, unsigned int, and uuid sq…
2019-05-09 13:54:52 -07:00
Timothy Sehn 96d32518f4 Added a test for merging two branches that both create different tables 2019-05-09 12:20:50 -07:00