执行测试用例类CalculatorTest
设置genymotion可见:
Android Studio界面中,依次单击菜单项 View >Toolbar。即可见改工具按钮。
启动genymotion模拟器Google nexus5 :
Android Studio界面中,工具栏中单击粉色GenymotionDevice Manager工具图标按钮。
在弹出的Genymotion Device Manager窗口中,选中Google nexus5 ,单击【Start】。
关闭Genymotion Device Manager窗口。
执行测试用例CalculatorTest
弹出Select Deployment Target窗口,选中Genymotion模拟器,单击【OK】。
6条测试用例均执行成功。