mozilla / mentat

UNMAINTAINED A persistent, relational store inspired by Datomic and DataScript.
https://mozilla.github.io/mentat/
Apache License 2.0
1.65k stars 115 forks source link

Extract test macros. #632

Closed ncalexan closed 6 years ago

ncalexan commented 6 years ago

@rnewman can spend a minute trying to make this compile? I vaguely remember there's magic around the order of imports, etc, but it's pretty frustrating.

My motivation is to use the handy db testing apparatus in the tolstoy crate (or a new crate), so that I can write low-level tests for synchronization without having to build the db crate frequently (which is very slow since it's large).

rnewman commented 6 years ago

Let me know when you want me to look at this, @ncalexan.

ncalexan commented 6 years ago

@grigoryk landed this in https://github.com/mozilla/mentat/pull/787.