I want to use Junit & Mockito for android framework java files for local unit testing. I am not using android studio and want to write these unit testcases and execute them on Linux server. I have used libraries Junit, Mockito , hamcrest-core jar files. Do I need to include any other jar files? I am stuck at mocking the context. @Mock Context context - Doesn't work at all Can anyone please guide me on this?
Aucun commentaire:
Enregistrer un commentaire