vendredi 30 octobre 2020

How to run Instrumented test using different contexts?

I want to test my chat app to send and receive messages using Android instrumented test framework.

My application's main instance need Context instance for initialisation and authentication, so one context one client.

Is there any testing technique that will allow to have two different application contexts, maybe with two devices?

Please don't suggest Robolectric, so shouldn't use it, because my app contains native libraries that are not compatible with it.

Aucun commentaire:

Enregistrer un commentaire