[英]Unit testing in Android apps. How should I go about it?
行业中有许多测试工具,但这些是标准工具和方法
Deviceanywhere http://www.keynotedeviceanywhere.com/mobile-application-testing-automation.html
perfecto mobile
这是android官方测试指南链接
http://developer.android.com/guide/topics/testing/testing_android.html
使用Junit进行单元测试。
常见的方法是从不依赖于android平台的类的常规测试用例开始。 之后,您可以使用AndroidTestCase或ActivityTestCase类测试您的db类或类似的东西。
完成单元测试后,您可以使用Robotium进行UI测试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.