I have an SQLite database that gets created when the app starts. Currently, in my automated tests, I am deleting the existing database and recreating it every time - a very time consuming process on an emulator to redo for every database test. How can I improve my test design to speed this up?
I want to create this .db file once and reuse it for my automated tests. Unfortunately, extracting this file is a painful process that has to be manually done every time my initial data changes. I am in the middle of initial development, so my app's initial dataset is constantly changing.
Is there anyway I can automate this process a little better with Gradle?