Here is my situation: I have two sets of tests for my android application. One set that uses "normal" non-android libraries (JUnit4
, JMock2
, etc.), to unit-test my business logic, and one set that uses the Android framework (ActivityInstrumentationTestCase2
and soon Robotium
), to test my UI.
I'd like to add integration tests for my SQLite
database (CRUD tests, etc.) in my non-android set of tests. Is there a way to do that? Is there a SQLite
driver that works in a normal environment?
Yes, check out SqliteJDBC. More discussion of this here: