Take the 2-minute tour ×  I have an android application and my
tester is learning how to implement tests using robotium. The
application has an entity (object/pojo) stored in a sqlite
database with id, description and some other info.  We need to
some how do a setup in the test classes so that the application
has one entity with a determined id, description, etc that can
be used in the testing.  For the database access we have a Dao
Pattern implemented + a extension of SQLiteOpenHelper create and
manage updates to the database that gets injected in the
Activity classes using Robo Guice. So far we're not using
ContentProviders (There is a MockContentProvider class in the
android test package), but if that is the best solution we might
migrate to that.  The requirement for the setup implementation
is not to mix test code with the app code. Any suggestions?
share|improve this question add comment  1 Answer  I am not sure
exactly what you mean by "The requirement for the setup
implementation is not to mix test c