We are using an application in the cloud against which we run a selection of integration tests. It all works nicely but the problem we are having is purging the state between the test runs. Some tests require that no records exists within a selected schema but it is populated by another schema. Is there an easy way we could delete all documents within an entity? Either via the API or the cli?
I understand that and yes, we do create temp test apps but we use the same app for all the tests. I guess this means that there is no easy way to dump the records other than do it one by one?