Instrucment初识

来源:互联网 发布:蝙蝠侠 超人 知乎 编辑:程序博客网 时间:2024/06/12 01:50

ios自动化测试-Xcode原生测试工具

本Markdown编辑器使用[StackEdit][6]修改而来,用它写博客,将会带来全新的体验哦:

  • Time Profiler
    时间分析工具,用来检测应用程序使用CPU的情况,查看函数cpu时间消耗及进程堆栈消耗。
  • Leak
    分析是否存在内存泄漏现象。选择Leak后Instrucment会打开Allocation,Allocation负责监测对象的内存使用情况。
  • Activity Monitor
    实时监测当前程序的CPU占用率、实际内存和虚拟内存等详细信息。
  • Core Animation
    监测每秒绘制了多少帧(FPS),只能在真机上进行。
  • Automation
    用于测试UI的自动化测试框架,真机和模拟机上均可以使用,脚本由JavaScript编写,支持录制回放。

技术外链储备:

Mac Automation Scripting Guide]
https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/SaveaScript.html#//apple_ref/doc/uid/TP40016239-CH13-SW1

What is the difference between Objective-C automatic reference counting and garbage collection?
https://stackoverflow.com/questions/7874342/what-is-the-difference-between-objective-c-automatic-reference-counting-and-garb

如何用Instrucment来检测你的app
https://segmentfault.com/a/1190000000387082

iOS Automated Tests with UIAutomation
http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation

Xcode 7 UI 测试初窥
https://onevcat.com/2015/09/ui-testing/

原创粉丝点击