In our unit tests we create and delete databases quite a lot. Obviously we often need a fresh database to start our test cases from a well defined state. Working with SQLite directly I used to set up in memory databases for automated tests. Is this possible with Couchbase Lite?
In one of the previous comments, it is mentioned that the database is created in a temporary directory and then deleted. Is this something done internally by the CouchbaseLite or should we do it as a part of the unit testing?
Also, it would be of great help if we could share code snippets for unit test cases using XCTest Framework to understand the best practices to be followed for unit tests.