<How to load SQLite database in Android implementa...
# stackoverflow
u
How to load SQLite database in Android implementationTest from assets? For my unit tests I have collected real-world sensor data in a SQLite database. I need this data to create my tests. I tried android-sqlite-asset-helper: val targetContext by lazy { InstrumentationRegistry.getTargetContext() } val testContext by lazy { InstrumentationRegistry.getContext() } const val TEST_DB_NAME = "testdb.sqlite" const val VERSION = 1018 class TestDatabase(context:...