Commit Graph

54 Commits

Author SHA1 Message Date
Brian Hendriks d922c3c695 fix csv parsing (#259)
* fix csv parsing
* bats tests
2019-12-16 15:48:04 -08:00
Dustin Brown 7ee1771593 add newline to test file 2019-12-03 12:20:42 -08:00
Dustin Brown 9e25330597 fix dolt diff schema primary key changes 2019-12-02 17:54:53 -08:00
Timothy Sehn 36aad21147 Added skipped bats test for schema diffs on adding a primary key 2019-11-18 16:12:01 -08:00
Andy Arthur 802ceb00aa expanding bats tests 2019-11-15 09:45:18 -08:00
Andy Arthur 3db7cb5286 merged master 2019-11-11 10:49:17 -08:00
Andy Arthur 926ec5fa0e added tests for primary key change 2019-11-08 12:02:13 -08:00
Andy Arthur 1ddf7fd017 expanded sql diff bats tests 2019-11-08 11:50:39 -08:00
Katie McCulloch a6c74521b4 dolt/bats: Add bats tests and helper files 2019-11-07 17:45:52 -08:00
Daylon Wilkins 93bf491296 Fixed missed kind to string switch statement 2019-11-04 12:42:38 -08:00
Matt Jesuele 24f720cda3 Basic dolt blame 2019-10-24 14:04:15 -07:00
Matt Jesuele 8cfabb956c bats: Remove unneeded env var from setup, change how dolt init is skipped by config.bats 2019-10-08 14:26:37 -07:00
Matt Jesuele fa3c06b5cb bats: Factor setup and teardown logic out of tests, greatly reducing duplication 2019-10-08 13:43:21 -07:00
Taylor Bantle 1c4bb87e3b {go, bats}: Replace table works with file with schema in different order and added bats tests 2019-09-24 10:03:15 -07:00
Taylor Bantle 10aacb1273 Some cleanup and rewording 2019-09-19 18:06:19 -07:00
Taylor Bantle 4903b9d4d8 bats: Add replace-tables bats tests for xlsx files 2019-09-19 15:38:00 -07:00
Taylor Bantle 8304de36ce bats: Created bats tests for replace-table and updated update-table tests 2019-09-19 13:34:34 -07:00
Dustin Brown d3bb78775b fixing pr based on feedback 2019-09-09 11:13:03 -07:00
Brian Hendriks 64a59584f1 disable metrics in bats tests 2019-08-28 16:02:44 -07:00
Daylon Wilkins 38f379b226 Fixed JSON imports and disallowed schemas on import updates 2019-08-19 15:27:14 -07:00
Aaron Son 095eb81591 Added failing bats test for a badly named file 2019-07-25 11:13:02 -07:00
Daylon Wilkins 7db698ea81 Freakin tabs 2019-07-23 15:45:27 -07:00
Daylon Wilkins 66aa389b66 Changed bats to use a static folder on Windows 2019-07-23 15:45:27 -07:00
Matt Jesuele 30379393d3 dolt/bats/helper/common.bash: Fix call to bats load function on windows (hopefully) 2019-07-23 14:00:33 -07:00
Matt Jesuele e5a556d6c8 dolt/bats: Factor out batshelper util function 2019-07-23 13:11:07 -07:00
Matt Jesuele b91137a442 dolt/bats: Add test with skipped section for issue #1807 2019-07-23 12:59:26 -07:00
Matt Jesuele a0ab975ded dolt/bats: Add nativebatsdir helper function 2019-07-23 12:59:26 -07:00
Daylon Wilkins f8c3301e37 Fixed missing export for bats tests on Unix machines 2019-07-22 17:02:30 -07:00
Daylon Wilkins 3e44e547f5 Changed all tabs in bats files to spaces 2019-07-22 16:14:13 -07:00
Daylon Wilkins f42561b3a7 Made config.bats WSL-compatible and fixed #1801 2019-07-22 16:14:13 -07:00
Daylon Wilkins bc59893f66 Changed bats tests on Windows to use WSL 2019-07-22 16:14:13 -07:00
Daylon Wilkins ba0044ecea Moved bats windows compatibility changes to separate file 2019-07-18 14:51:10 -07:00
Zach Musgrave d50f626888 Added bats test for sql export 2019-06-19 15:26:54 -07:00
Timothy Sehn c52fc9c229 Final conflict detection tests 2019-05-10 11:49:12 -07:00
Timothy Sehn 879c69a247 Factored schema changes and diff out into their own bats file. Added a test for dolt diff when changing the primary key. 2019-05-03 11:55:33 -07:00
Timothy Sehn 970c317f06 Merge pull request #1196 from liquidata-inc/tim/reserved-sql-word-test
Added a test file for a table with sql reserved words in the column names
2019-05-02 15:18:16 -07:00
Timothy Sehn fe79676d26 Capital letters test case 2019-05-02 13:59:39 -07:00
Timothy Sehn ed16a55149 Added a test file for a table with sql rerved words in the column names 2019-05-02 13:19:15 -07:00
Timothy Sehn 82f2f9471e added test for importing non-UTF-8 characters 2019-05-01 13:15:07 -07:00
Timothy Sehn 6fe5493530 more robust create table tests 2019-04-09 15:17:58 -07:00
Timothy Sehn 0698eb761c Added more bats test coverage on json and excel import 2019-04-09 12:54:36 -07:00
Timothy Sehn ce8a00ba1f Added another test case in unsupported types schema file 2019-04-08 15:16:42 -07:00
Timothy Sehn 2df756e772 added a test for unsupported blob type that succeeds 2019-04-08 15:00:09 -07:00
Timothy Sehn 213ba10ed7 added tests for a schema with all types 2019-04-08 14:37:48 -07:00
Osheiza Otori 82f201c3e4 Oo/bats excel (#936)
* added bats test for excel import

* combined tests into one
2019-04-04 10:04:15 -07:00
Timothy Sehn 68711d2d58 Added a test for multiple primary keys. 2019-04-01 17:03:28 -07:00
Timothy Sehn c97aa96895 Replaced nutrition bug test case with more explicit test case 2019-04-01 11:41:28 -07:00
Timothy Sehn 2e7a80c1e6 added a test for the not quoting commas bug 2019-03-29 13:33:29 -07:00
Timothy Sehn 3c420fbd36 Renamed files so I could add a strings version 2019-03-29 13:17:10 -07:00
Timothy Sehn 6cfdd05243 Merge pull request #864 from liquidata-inc/tim/json-import-tests
added bats tests for json import
2019-03-28 15:06:41 -07:00