社å ã§è¡ã£ããã¹ããã¡ã¼ã¹ãåå¼·ä¼ã®è³æã§ã http://sue445.hatenablog.com/entry/2015/01/15/223006Read less
æ¬æ ¼çãªãã¹ããè¡ãã¾ãã« æ å ±åéãããã®ãåå¿é²ã¨ãã¦æ®ãã¦ããã¾ãã å¤é¨ãµã¼ãã¹ appium ååããåããã¨ããseleniumã®ãããªãã¹ãèªåãã¢ããªã§è¡ããã¨ãå¯è½ãå¿ è¦æ¡ä»¶ã¯ãMac OSX 10.7以ä¸ãXCode 4.5ä»¥ä¸ ãã¨ãªã£ã¦ãããSwiftã対å¿ãã¦ãããã¯å®éã«ã³ã¼ããæ¸ããªãã¨ããããªãã saucelabs https://saucelabs.com/ seleniumãappiumã®ãã¹ããé«éå®è¡ãå®è¡æã®ãããªãæ®ãã¦ãããã Remote Test Kit ãªã¢ã¼ãã«ããå®æ©ãã¹ããã§ããã æ©ç¨®ä¾åãã¤ã³ãã¨ãªãã»ã³ãµå¨ãã®ãã¹ãããã¥ããã®ã¯æ®å¿µã OSS Quick Swiftãçºè¡¨ãããï¼æ¥å¾ã«Githubã«ã³ãããããããä¸çã§ä¸çªæåã®Swiftã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãRSpec, Specta, Ginkgoã®å½±é¿ãåãã¦ãã
å®éã«ã¯ãããä¸ä½ã®ãã¹ããåªå çã«æ¸ããã¨ãã話ã http://d.hatena.ne.jp/yach/20140424 åã¯ä»¥åãããã¦ããããã¹ãåéãªTDDã®èãæ¹ã«çåãæã¡ãèªåã§ãã¹ããæ¸ãã¨ãã¯ããªãã¹ãä¸ä½ã®ãã¹ããæ¸ãããã«ãã¦ãã¾ããã ãã®èãæ¹ã¯ããã¹ããã¡ã¼ã¹ããªäººéã®è©å¤ãæªããéçºã®æ¹éã決ããéã«ããªãã¹ã大ããªåä½ã§ãã¹ããæ¸ãã¹ãã ãã¨ãã主張ãéããã¨ã¯ã»ã¨ãã©ããã¾ããã§ããã å½¼ãã®ä¸»å¼µã¯ããã§ãã ãã¦ããããã¹ããæ¸ãããã¿ã¼ã²ãã以å¤ã¯ã¢ãã¯åãããã ããã¦ãã¨ãã«ã¯ãã®èãæ¹ãæ¡å¼µããã¦ããã¦ããããã¹ããæ¸ããããããã«ã¯ã©ã¹ãè¨è¨ãããã¨ãªã(ããã¯è¯ãã¨æãã¾ã)ããã¦ããããã¹ããã«ããããã³ã³ããã¼ã©ã¼ã«ãªãã¹ãã³ã¼ããæ¸ããªãã¨ãè¨ãåºãã¾ããããã¯æµç³ã«æ¬æ«è»¢åã§ãã ãããã¦æ¸ãããã¦ããããã¹ãã¨ããã®ã¯ãéçºè ã®æ
TDDï¼BDDã®ææ³ã¨ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã®é¢ä¿ãæ´çãããï¼ãã¾ããèããªãTDD/BDDè¶ å ¥éï¼2ï¼ï¼1/3 ãã¼ã¸ï¼ TDDï¼BDDã®ææ³ã«è§¦ãããã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦xUnitãJBehaveãxSpecãCucumberãTurnipãTestDoxãç´¹ä»ããã ååã®ããã¹ãé§åéçºï¼æ¯ãèãé§åéçºãå§ããããã®åºç¤ç¥èãã§ãç´¹ä»ããã£ãããã«ããã¾ãã¾ãªãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãããã¾ããä¾ãã°TDDèªä½ã¯ãKent Beckï¼ã±ã³ãã»ããã¯ï¼æ°ãèæ¸ããã¹ãé§åéçºå ¥éãï¼ãã¢ã½ã³ã¨ãã¥ã±ã¼ã·ã§ã³åï¼ã®ä¸ã§è¿°ã¹ã¦ããããã«ããåæææ³ããã³è¨è¨ææ³ã§ãããå®éã«ã¯éçºå ¨ã¦ã®ã¢ã¯ãã£ããã£ãæ§é åããããã®ææ³ãã§ãã TDDï¼ãã¹ãé§åéçºï¼ï¼BDDï¼æ¯ãèãé§åéçºï¼ãå®è·µãããã¨ã¨ãç¹å®ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãæ¡ç¨ãããéçºããããããã¨ãåãã¦èãã¦ãããª
é£è¼ç®æ¬¡ 2000年代åæã«éçºææ³ã¨ãã¦ç¢ºç«ãããããã¹ãé§åéçºãï¼Test Driven Developmentã以ä¸ãTDDãï¼ã¯ããã®å¾10å¹´ãã®éã§æ®åãé²ã¿ãä»ãçãããªãéçºã¹ã¿ã¤ã«ã®1ã¤ã¨ãªã£ã¦ãã¾ããå½å ã§ããã¢ã¸ã£ã¤ã«ã¢ã«ããã¼ããTDD Boot Campããªã©ã«ããæ¨é²ã»æ®åæ´»åãåå°ã§æ´»çºåããèªç¥ãåºãã£ã¦ãã¾ããã ãªãTDDã¯èªçããããã¾ã§ã®éã«ããã¾ãã¾ãªå·¥å¤«ãå®è·µä¸ã®ãã¦ãã¦ãæå±ããã¦ãã¾ãããã¾ãTDDã®æ®åã«å½±é¿ãåããä»ã®ãã¾ãã¾ãªããã¹ããã¡ã¼ã¹ããææ³ãå°é ãã¦ãã¦ãã¾ãã æ¬ç¨¿ã§ã¯ãããããTDDã®çºå±ããæ¯ãèãé§åéçºï¼Behavior Driven Developmentã以ä¸ãBDDãï¼ãªã©ä»ã®ãã¹ããã¡ã¼ã¹ãææ³ã¸ã®å±éã«ã¤ãã¦ã解説ãã¾ãã â»ç·¨éé¨æ³¨ï¼ã½ããã¦ã§ã¢ã®ããã¹ãããã®ãã®ã®æ¦è¦ã種é¡ã«ã¤ãã¦ç¥ãããæ¹ã¯è¨äºãJ
ã½ããã¦ã§ã¢ã®éçºãè¡ãã¨ãã«ãã¾ããã¹ãã±ã¼ã¹ãå ã«ä½ã£ã¦ããæ©è½ãä½ãè¾¼ãããã¹ãé§åéçºãï¼Test-Driven Developmentï¼TDDï¼ãããã«ãããã½ããã¦ã§ã¢ã®éçºå·¥æ°ãå質ã«ã¯ã©ã®ç¨åº¦ã®å¤åãããã®ã§ããããã TDD(ãã¹ãé§åéçº)ã®é©ç¨è©ä¾¡ãç´¹ä»ããç 究è«æ - ã¨ãªã¯ã½ã³ã¯ãã3社ï¼æ£®å´ä¿®å¸ã®ãã©ããã£ã¦ã¯ããã®ï¼ãï¼ITmedia ãªã«ã¿ããã£ãã»ããã° ãã®çåã«ã¤ãã¦èª¿æ»ããè«æããå¥è¯å 端ç§å¦æè¡å¤§å¦é¢å¤§å¦ å©æã®æ£®å´ä¿®å¸æ°ã3æ10æ¥ã®ããã°ãå½ç«å¤§å¦æ³äººå¥è¯å 端ç§å¦æè¡å¤§å¦é¢å¤§å¦ å©æãã®ã¨ã³ããªãTDD(ãã¹ãé§åéçº)ã®é©ç¨è©ä¾¡ãç´¹ä»ããç 究è«æ - ã¨ãªã¯ã½ã³ã¯ãã3社ãã§ç´¹ä»ãã¦ãã¾ãã éçºæéã¯ããå¢ãããã³ã¼ãã®å質ã¯ä¸ãã£ã è«æå ¨æã¯ææãªã®ã§èªããªããã®ã®ã森å´æ°ã®ããã°ã«ããã¨æ¬¡ã®ç¥è¦ãå¾ãããã¨ã®ãã¨ã§ããã¾ããã½ããã¦ã§
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}