mentat/test/datomish
Nick Alexander 60c7db4301 Pre: Make testing consistent by sorting fulltext values before inserting.
This sorts fulltext values inserted in a single transaction, not across
transactions.  This makes the rowids assigned in the fulltext_values
table internally consistent, even as the order of entities and datoms
changes (as the transaction applying algorithm evolves over time).  The
test changes simply make the fulltext values sort easily.

In theory, these fulltext values could be very large, and sorting might
be very expensive.  In practice, we expect values to differ in their
first few characters, so that this is efficient (i.e., proportional to
the number of fulltext values inserted and not their size).
2016-10-14 10:20:43 -07:00
..
places Introduce js-sqlite as an abstraction wrapper around Sqlite.jsm and promise-sqlite. 2016-09-08 19:11:44 -07:00
test Generate known type for the entity in a fulltext expression, and add a test. Fixes #85. 2016-10-13 18:19:29 -07:00
db_test.cljc Pre: Make testing consistent by sorting fulltext values before inserting. 2016-10-14 10:20:43 -07:00
jdbc_sqlite_test.clj Part 1: Fix testing errors. 2016-07-13 18:19:22 -07:00
promise_sqlite_test.cljs Add a test for long strings round-tripping through node-sqlite3. Fixes #65. 2016-10-07 11:58:50 -07:00
query_test.cljc Introduce js-sqlite as an abstraction wrapper around Sqlite.jsm and promise-sqlite. 2016-09-08 19:11:44 -07:00
schema_changes_test.cljc Bootstrap DB schema; persist and restore schema from materialized views. 2016-08-04 14:26:20 -07:00
schema_test.cljc Review comment: better UUID support. 2016-08-30 18:22:22 -07:00
sqlite_user_version_test.cljc Implement negation, predicates, external scalar bindings, <?q. r=nalexander 2016-07-25 17:08:00 -07:00
test.cljs Make <transact! run in a critical section. (#80) 2016-10-11 20:32:35 -07:00
test_macros_test.clj Add an async and async testing framework. 2016-07-12 13:56:26 -07:00
test_macros_test.cljs Part 1: Fix testing errors. 2016-07-13 18:19:22 -07:00
tofinoish_test.cljc Implement all four find specs. Fixes #38. r=nalexander 2016-10-07 11:02:35 -07:00
transact_test.cljc Review comment: fail pending transactions after closing connection. 2016-10-13 16:11:22 -07:00
util_test.cljc Pre: Add util/group-by-kv. 2016-10-14 10:20:43 -07:00