Access SQLite database from non-android environment

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?

Answers


Yes, check out SqliteJDBC. More discussion of this here:

How to connect SQLite with Java?


Need Your Help

Not able to open WSDL in browser

java eclipse web-services tomcat wsdl

I created a simple java program like below,

How to collect time values from an AudioContext element?

javascript google-chrome midi web-audio

I am working on a small js/midi app and I need to define the timeline of my app.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.