I'm building integration test to make
# spicedb
I'm building integration test to make sure our implementation of the schema is right. I'd like to do a database flush (similar to redis-cli flush). Where we wipe all nodes/relations but keep the schema. In order to reload some new data fixtures for each test suite. Is that possible via the API?
this is not possible with
spicedb serve
command. Instead we recommend using the
command, which offers an easier way to do integration testing. each presharedkey you use will give you a completely new, empty, isolated environment
there is also a GitHub Action that runs
spicedb serve-testing
for you, in case you use GitHub Actions
Amazing thx for the pointers!!