Closed ericcornelissen closed 7 years ago
@clenrock you can always temporarily add code to add a contact to the database. But I think we've come to a stage of development where this should no longer be part of the production code (i.e. code on the develop
or master
branch)
@ericcornelissen I don't agree, because 'temporarily adding new code' takes more time if you want to test it, and for now it doesn't matter that the code is still there
Well I'm not sure how much of a problem that is, since after adding a contact once it should stay in the database until uninstall the app. Also:
...temporarily adding new code takes more time if you want to test it...
I don't thinks this is that big of a deal. Besides the fact that you should only have to do it once (see above), adding a contact to the database shouldn't take any longer then a minute..
Relevant Issues: #226
Related Pull Requests: -
What
This Pull Request removes from the repository the demo database content loaded in the
MainActivity
. Besides that it also adds an androidTest for clicking on a contact in the MainActivity.Why
This Pull Request is needed because the demo database content is no longer needed or useful, since we can now exchange contacts.
How
This feature can be viewed/tested within the project by opening the app and looking at the contacts list in the
MainActivity
. Beware that it may contact contacts inserted during androidTests!Alternative implementation
n/a
Notes
None