最近在学习 robotium,弱弱的问下,robotium 测试用例执行完成后是否可以不关闭 APP?
我尝试注释 tearDown() 里的 solo.finishOpenedActivities(); ,但不行,不知道有没有大神可以解答下我的疑问。
用例是官方的 NotePadTest:
@Override
public void tearDown() throws Exception {
// tearDown() is run after a test case has finished.
// finishOpenedActivities() will finish all the activities that have
// been opened during the test execution.
solo.finishOpenedActivities();
}