2014-12-19 112 views
0

如何在命令行上運行測試;例如:如何在命令行上運行測試

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的正確用法是什麼?

回答

0

我有固定的問題,下面是正確的命令,:

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 
相關問題