2014-12-19 36 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 
相关问题