I'm starting to use the new Xcode UI Testing with CBL. I would like my UI Test start with an empty database at the start of the UI test.
What is the recommended way to do this? Seems like you can't just create an empty db in the test class as it seems the test class is running in a different scope.
I could do something like putting an #ifdef TEST in my appController where I am setting up CBL and create an empty database, but I would rather not do this as it seems like a hack.
Has anyone run into this?
Todd