Unit test database access

Is there a way to execute unit tests so that any retrieves invoked by the unit tests only retrieves data created in the unit test? In other words, if the database contains data that was persisted previously – is there a way ignore that data?
1 answers

If you have “Rollback microflow tests after execution” selected, the test runs in its own transaction. This means you could have a delete action in the test to wipe data and it would then be rolled back when the test completes.

Hope this helps.