Android Testing(1) 浅尝Android测试的奥秘

------- 源自梦想永远是你IT事业的好友、只是勇敢地说出我学到! ----------

仅供学习和交流使用,翻译不好勿喷,请只摘除不合适的地方

Testing

The Android framework includes an integrated testing framework that helps you test all aspects of your application and the SDK tools include tools for setting up and running test applications. Whether you are working in Eclipse with ADT or working from the command line, the SDK tools help you set up and run your tests within an emulator or the device you are targeting.

If you aren't yet familiar with the Android testing framework, start by reading Testing Fundamentals. For a step-by-step introduction to Android testing, try the Activity Testing Tutorial.


测试

Android框架中包含了帮助对我们写出的应用程序的各个部分进行测试的整合测试框架,SDK工具中也提供了创建和运行这个测试应用程序的工具。不管你使用的是带有ADT的Eclipse,还是使用命令行,SDK工具都会帮你在模拟器或者你所指向的设备中创建和运行你的测试。

如果你还不熟悉Android的测试框架,即请开始阅读Testing Fundamentals文档,要想要得到对Android测试一步一步的介绍,就请阅读Activity Testing Tutorial这个文档,这里会对你进行详细的知道。

(后面会尝试着翻译这两篇文档)




------- 源自梦想永远是你IT事业的好友、只是勇敢地说出我学到! ----------
原文地址:https://www.cnblogs.com/suncoolcat/p/3320275.html