biff

jcd 2024-04-02T16:13:09.975469Z

Anyone have any patterns or tricks for managing tearing up/tearing down DB state in automated tests? I'm having fun hacking away at my toy app, but I haven't used XTDB much and I'm a bit leery of having no test coverage.

2024-04-02T21:59:45.850179Z

yeah, I've got a couple tests in the biff repo: https://github.com/jacobobryant/biff/blob/master/test/com/biffweb/impl/xtdb_test.clj see test-node and get-context

✅ 1
jcd 2024-04-02T23:24:28.206779Z

Awesome, thanks!

🙌 1
2024-04-15T18:48:37.759019Z

Heh I just added an issue asking for documentation of this