【问题标题】:How to run tests on the command line如何在命令行上运行测试
【发布时间】:2014-12-19 10:59:01
【问题描述】:

如何在命令行上运行测试;例如:

instruments -w a2de620d4fc33e91f1f2f8a8cb0841d2xxxxxxxx -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate TestAutomation -e UIASCRIPT /Users/jc/Documents/Dev/TestAutomation/TestAutomation/TestUI/Test-2.js

但是这个命令不能运行,输出Instruments Usage Error : Specified target process is invalid

Xcode6.1 的正确用法是什么?

【问题讨论】:

    标签: ios xcode testing instruments


    【解决方案1】:

    我已经解决了这个问题,这里是正确的命令,:

     instruments -w 69032487ed2e6c53fc186cdec058327028b7f9fd -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate mixtest -e UIASCRIPT ~/desktop/test.js
    

    【讨论】:

      猜你喜欢
      • 2014-02-18
      • 2014-09-02
      • 2015-05-22
      • 2016-02-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-09
      相关资源
      最近更新 更多