Clojurians
#datomic
<
2015-10-18
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

robert-stuttaford13:10:27

@val_waeselynck: you can preload a db with schema and fixtures before all your tests and then retain that db as a global value. then you can use d/with on that in each test as you need, saving having to recreate the db from scratch for each test. should be stupid fast.

val_waeselynck16:10:44

@robert-stuttaford: yes that's my objective :simple_smile: the thing is, I want to get these benefits transparently when I'm using datomic.api/transact, hence a desire to mock the connection