Test run failed: Instrumentation run failed due to 'Process crashed.' when testing multiple Android activity

前端 未结 4 1199
说谎
说谎 2021-01-11 10:00

I\'ve got an issue with testing my android application.
I have 2 testCase class, if I execute them separately, there is no problem, the tests run until the end. But if I

4条回答
  •  生来不讨喜
    2021-01-11 10:57

    In case anyone else is also using Robotium and saw the error: I forgot to tearDown the opened activity, and this resulted in the error as described above.

    public void tearDown() throws Exception {
        solo.finishOpenedActivities();
    }
    

提交回复
热议问题