hugsql

rgm 2019-04-30T16:23:06.003200Z

hey all, I have a few poorly-formed questions/musings about testing with HugSQL. In general, I realize testing the DB layer is a bit of an ORM/Rails/getters thing == slow tests == shenanigans with starting transactions in the setup block and the like. Is there any good guidance anyone can point me to re: testing and HugSQL. In particular, I wonder about hooking it up to spec for generative testing.

rgm 2019-04-30T16:23:56.004100Z

Or am I just missing the point, given in my experience ORM tests are often there because the cascade of lifecycle callbacks etc. is often implicit and hard to grok.