lundi 11 avril 2016

How should I set testing data to test an Android application with AndroidJUnit4?

I'm using AndroidJUnit4, and I've come to the part in my tests where I need to have data pulled/set, and I'm not sure how to do this.

Two possibilities:

Set the data using one activity and access it in another

Set it programmatically and just test the second activity

I've searched how to do both of these rather extensively with no luck.

Aucun commentaire:

Enregistrer un commentaire