Updated on 2013/04/08: Added command-line for Xcode >= 4.5, how to take screenshots and launch local scripts. Quick introduction Automated tests are very useful to test your app âwhile you sleepâ. It enables you to quickly track regressions and performance issues, and also develop new features without worrying to break your app. Since iOS 4.0, Apple has released a framework called UIAutomation, wh
What are the best technologies to use for behavior-driven development on the iPhone? And what are some open source example projects that demonstrate sound use of these technologies? Here are some options I've found: Unit Testing Test::Unit Style OCUnit/SenTestingKit as explained in iOS Development Guide: Unit Testing Applications & other OCUnit references. Examples: iPhoneUnitTests, Three20 CATCH
iOS SDK 4 ãã追å ããã UIAutomation ã«ã¤ãã¦èª¿ã¹ã¦ã¿ã¾ããã UIAutomation ã使ãã°ãJavaScript 㧠UI ã®èªåãã¹ããå¯è½ã«ãªãã¾ããInstruments ä¸ã§ã¿ã¼ã²ããã®ã¢ããªã¨ JavaScript ã®ãã¡ã¤ã«ãã¤ãªãã¨å®è¡ã§ãã¾ãã 詳ããå°å ¥æ¹æ³ã¯ããã¥ã¡ã³ããè¦ã¦ãããã¨ãã¦ãä½ãã§ããããã¾ã¨ãã¦ã¿ã¾ããã ä½ãã§ããã®ã ãã°ãåºã é常ã®ãã°åºå æåã¨å¤±æç¨ã®ãã°åºåããã£ã¦ãããã§ãã¹ãçµæãå¤å®ãã ã¹ã¯ãªã¼ã³ã·ã§ãããã¨ã ç»é¢å ¨ä½ã¾ãã¯ä¸é¨ã®ã¹ã¯ãªã¼ã³ã·ã§ãããæ®å½±ã§ãã ã¨ã©ã¼ã®æ¤ç¥ ã¯ã©ãã·ã¥ãªã©ãããã㨠JavaScript ã®ä¾å¤ããã ã¿ãããªã©ã®ã¦ã¼ã¶ã¼ã®ã¢ã¯ã·ã§ã³ ãã¿ã³ãªã©ã® UI ã¨ã¬ã¡ã³ããããã¤ã¹ã«å¯¾ãã¦å®è¡ã§ãã ãã©ãã°ãããªãã¯ããã³ãã¤ã³ããã³ãã¢ã¦ããªã©ãå¯è½ UI ã®ç¶æ ãå
Mac / iOS éçºæ å½ã®æ¾æ¬ã§ãã 以ååããã¼ã ã®ãã¤ã¢ããããç´¹ä»è¨äºãæ¸ãã¦ãã UIAutomation ã§ããã使ãã«ããã¦ä½¿ã£ã¦ãã¾ããã§ãããã¨ããã®ã以åã®ãã¼ã¸ã§ã³ã¯ã³ãã³ãã©ã¤ã³ãããã¹ããå®è¡ã§ãããæ¯å Instruments ãæã§èµ·åãã¦ããã¨ããæ®å¿µãªç¶æ ã ã£ãããã§ãã ã¨ããã iOS SDK 5ããã¯ã³ãã³ãã©ã¤ã³ãããã¹ããå®è¡ã§ããããã«ãªã£ãã¨è¨ãã®ã§å度ãã©ã¤ãã¦ã¿ã¾ããã ã³ãã³ãã©ã¤ã³ãããã¹ãã®å®è¡ æå§ãã«ä¸è¨ã®ããã¼ã¯ã¼ã«ããã³ãã³ãã©ã¤ã³ããå®è¡ãã¦ã¿ã¾ãã // hello_test.js UIALogger.logMessage("Hello, UI Automation!"); ãã¹ãã®å®è¡ã¯ instruments ã³ãã³ãã§è¡ãã¾ãã $ instruments \ -t /Developer/Platforms/iP
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}