sqlite-utils/tests
Simon Willison 42ec59d8ee
sqlite-utils memory command for directly querying CSV/JSON data
* Turn SQL errors into click errors
* Initial CSV-only prototype of sqlite-utils memory, refs #272
* Implement --save plus tests for --save and --dump, refs #272
* Re-arranged CLI query documentation, refs #272
* Re-organized CLI query docs, refs #272
* Docs for --save and --dump plus made SQL optional for those, refs #273
* Replaced one last :memory: example
* Documented --attach option for memory command, refs #272
* Improved arrangement of CLI query documentation
2021-06-18 08:00:52 -07:00
..
sniff sqlite-utils insert --sniff option, closes #230 2021-02-14 11:23:12 -08:00
__init__.py Initial project layout + database table creation tools 2018-07-28 06:46:17 -07:00
conftest.py Tracer mechanism for showing underlying SQL queries 2020-09-07 14:56:59 -07:00
test_analyze_tables.py sqlite-utils analyze-tables command and table.analyze_column() method 2020-12-12 23:20:11 -08:00
test_attach.py db.attach(alias, filepath) method, closes #113 2021-02-18 20:56:32 -08:00
test_cli.py Added test, formatted with Black - refs #276, #277 2021-06-18 07:57:32 -07:00
test_cli_memory.py sqlite-utils memory command for directly querying CSV/JSON data 2021-06-18 08:00:52 -07:00
test_column_affinity.py Tracer mechanism for showing underlying SQL queries 2020-09-07 14:56:59 -07:00
test_constructor.py Tracer mechanism for showing underlying SQL queries 2020-09-07 14:56:59 -07:00
test_conversions.py New conversions= feature, closes #77 2020-01-30 16:24:30 -08:00
test_create.py Fix bug with upsert_all() and single column tables, closes #271 2021-06-12 19:57:21 -07:00
test_create_view.py Tracer mechanism for showing underlying SQL queries 2020-09-07 14:56:59 -07:00
test_delete.py Added table.delete_where(), closes #62 2019-11-04 08:18:06 -08:00
test_docs.py Applied Black 2020-09-22 16:09:28 -07:00
test_enable_counts.py .reset_counts() method and reset-counts command, closes #219 2021-01-03 12:59:31 -08:00
test_extract.py table.drop(ignore=True) option, refs #237 2021-02-25 09:05:08 -08:00
test_extracts.py Demonstrate extract= creates correct foreign keys 2020-09-24 15:46:46 -07:00
test_fts.py Useful error message for enable_fts() on views, closes #220 2021-02-14 14:34:22 -08:00
test_get.py Refactored tests into new test_rows.py, refs #76 2020-04-15 18:04:55 -07:00
test_hypothesis.py Added basic tests using hypothesis, closes #180 2020-10-18 21:51:50 -07:00
test_insert_files.py Run tests against Ubuntu, macOS and Windows 2021-02-14 12:39:54 -08:00
test_introspect.py db.schema and 'sqlite-utils schema' command, closes #268 2021-06-11 13:51:49 -07:00
test_lookup.py Implemented table.lookup(...), closes #44 2019-07-23 06:06:59 -07:00
test_m2m.py table.m2m(..., alter=True) option, closes #222 2021-01-17 20:26:02 -08:00
test_recreate.py Tests for Database(..., recreate=True), refs #97 2020-04-12 20:47:36 -07:00
test_register_function.py @db.register_function(..., replace=True), closes #199 2020-11-06 10:30:41 -08:00
test_rows.py Improved .rows_where() documentation, added test for :named parameters 2021-06-02 11:57:11 -07:00
test_sniff.py sqlite-utils insert --sniff option, closes #230 2021-02-14 11:23:12 -08:00
test_suggest_column_types.py Fixed bug with null columns, closes #95 2020-03-23 13:31:06 -07:00
test_tracer.py .search_sql() fully respects columns=, closes #201 2020-11-08 08:53:53 -08:00
test_transform.py Simplify drop-foreign-key, and drop_foreign_keys, closes #177 2020-09-24 09:19:07 -07:00
test_update.py Use jsonify_if_need for sql updates (#204) 2020-12-08 09:49:42 -08:00
test_upsert.py Fix bug with upsert_all() and single column tables, closes #271 2021-06-12 19:57:21 -07:00
test_utils.py find_spatialite() utility function, closes #135 2020-08-21 13:30:02 -07:00
test_wal.py Additional tests for WAL mode 2020-09-07 13:46:12 -07:00
utils.py 'sqlite-utils add-column name type' command, closes #15 2019-02-24 12:04:33 -08:00