vendredi 2 octobre 2020

Test cases are passing individually but failing when run all together: Android Tests

My Android project has more than 250 tests. Most of them include API mocking & some of them are unit tests.

In Android Studio when I run the individual test class, all tests in that class succeed. But when I run the entire test package, some of the tests fail randomly.

The project has MockWebSerever & Awaitility to handle API mocking & async operation. The gradle file also has Android Orchestrator & clearPackageData declared. Still, the issue persists.

Can someone help me to fix this issue? Any help is appreciated.

Aucun commentaire:

Enregistrer un commentaire