1 / 19

Android 非功能测试

Android 非功能测试. By Monkey 陈晔晔. 什么是移动互联网?. 也许你已经深陷移动互联网泥潭 也许你还没有陷进去 也许你出淤泥而不染. 指尖上的中国 2. Python 串联整个测试流程 Python 启动模拟器 MonkeyRunner 进行非 app 操作 MonkeyRunner 进行业务操作 PIL 进行图片对比. 缺点. Python 启动模拟器会堵住进程 MonkeyRunner 操作不稳定 PIL 模块在 OSX10.9 无法使用. 图片对比. 难点. Report. Android 非功能测试. 移动无线性能测试.

lihua
Télécharger la présentation

Android 非功能测试

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Android非功能测试 By Monkey陈晔晔

  2. 什么是移动互联网? • 也许你已经深陷移动互联网泥潭 • 也许你还没有陷进去 • 也许你出淤泥而不染

  3. 指尖上的中国2

  4. Python串联整个测试流程 • Python启动模拟器 • MonkeyRunner进行非app操作 • MonkeyRunner进行业务操作 • PIL进行图片对比

  5. 缺点 • Python启动模拟器会堵住进程 • MonkeyRunner操作不稳定 • PIL模块在OSX10.9无法使用

  6. 图片对比

  7. 难点

  8. Report

  9. Android非功能测试

  10. 移动无线性能测试 • 无论是使用现成的工具还是自己编写工具,都需要先分析自己的产品

  11. 非功能测试工具V0.000002 • Github:https://github.com/monkeytest15/AndroidPerformanceTest_Python • 自动生成应用GC和消耗流量的报告

  12. 主要界面启动时间消耗 • 应用GC_Freed时间 • 应用GC占用空闲内存的百分比 • 应用GC的平均消耗时间 • 电量消耗 • 流量消耗 • Memory消耗平均值 • Cpu平均使用值 • MAT分析 • Lint分析 • Findbugs • Systrace • traceView • Gfxinfo • 业务测试计算代码覆盖率

  13. iOS • KIF • Appium • Monkey

  14. 更多的实践可访问www.testerhome.com

  15. QA • 微博:Monkey陈晔晔 • Weixin:monkey15chen • QQ:383750787 • Gtalk:snowangelsimon@gmail.com • Twitter:monkeytest • Number:18621519900

More Related