TDD Boot Camp åå¤å±ï¼2æ¥ç®ï¼ã«åå ãã¾ãã
TDD Boot Campåå¤å±ã®2æ¥ç®ã«åå ãã¾ããã
2æ¥ç®ã¯ã¬ã¬ã·ã¼ã³ã¼ãï¼ï¼ãã¹ãã³ã¼ãã®ãªãããã°ã©ã ï¼æ¹åä½é¨ã¯ã¼ã¯ã·ã§ããã¨ãããã¨ã§ãååä¸ã¯id:t-wadaããã®ã©ã¤ãã³ã¼ãã£ã³ã°ã«ãããã¢ãåå¾ã¯è¨èªæ¯ã«ã°ã«ã¼ãã«åããã¦æ¹åå®è·µã¯ã¼ã¯ãè¡ãã¾ããã
åã¯C++ã®ã°ã«ã¼ãã«åå ãã¾ãããid:kaorun55ããï¼æ¨æ¥ã¯ãã¢ãããä»æ¥ã¯é¡æã®ãæä¾ããããã¨ããããã¾ããï¼ã®æä¾ãã¦ãã ãã£ãé¦ã°ããã¬ã¬ã·ã¼ã³ã¼ããé¡æã«ããã®ã³ã¼ãã®ä»æ§åããªãã¡ã¯ã¿ãªã³ã°ã¨æ©è½å¤æ´ãè¡ããã¯ãã ã£ãã®ã§ãã...ç¾å®ã¯ã¬ã¬ã·ã¼ã³ã¼ãã®ããã«å³ããã§ããï¼æéã足ããªãã¦ãæ¢åã¯ã©ã¹ã®ä¸é¨ã®ä»æ§åã¨å¤æ´ãã§ããã«çã¾ãã¾ããã
åãæããæ大ã®é£ããã¯ãã°ã«ã¼ãã¨ãã¦è¡åãããã¨ã®é£ããã§ãããã®é£ããã以åãæãããã¨ãããã¨æã£ã¦ãããããªã«ãèãã¦ããã®ã§ããããã£ãæãåºãã¾ããããããä¸å¹´ä½åã«åå¤å±ã¢ã¸ã£ã¤ã«åå¼·ä¼ã®XPå ¥éã¯ã¼ã¯ã·ã§ããã§è¡ã£ãã4ã³ããã³ã¬ãã°ã«ã¼ãã§è£½ä½ããã¯ã¼ã¯ã§æãããã¨ã¨ãåãã§ããåãã¨ã¯ã©ããããã¨ãã¨ããã¨ãããç¨åº¦æãã人ãªãã4ã³ããã³ã¬ãæãã®ã«ããããªã«æéã¯ããããªãã§ããä¸äººã§æãã¦ãããªããå¥æ®µãªãã§ããªãããããããªãã¦ãã°ã«ã¼ãã§ãã¿ã¹ã¯ãæ´ãåºãã¦åæ ãã¦ãããããã¤ãªãåããã¦ãããã¨ãé£ããããã®ããã«ã¿ã¹ã¯ããã°ãã使ã£ãããµãããããè¡ãªã£ãããã¦ãå¦ã³ãå¾ãã¨ããã¯ã¼ã¯ãªã®ã§ããã
ä»åã¯ãé¡ãTDDã§ãããé£ããã¯åãã§ããããã¾ã§ã®ãã©ãã¤ã ã§ã¯ãã³ã¼ããæ¸ãã¨ããè¡çºã¯ãé常ã«ãã¼ã½ãã«ãªãã®ã§ãã使ãã¨ãã£ã¿ã¼ããã¼ãã¤ã³ãã¯é常å人ã®èªç±ã ããã¤ã³ãã³ãã¹ã¿ã¤ã«ãå½åã»ã³ã¹ããããã¯æçµçã«ã¯ããç¨åº¦ããããã¨ãã¦ãããã®ã¨ããã®ã¨ãã¯å人ã«å±ãããã®ã¨èãããã¦ãã¾ããããããTDDã¯ããã°ã©ãã³ã°ãæé軸æ¹åã«æ§é åãã¦ãã¾ããããã«ãã¢ããï¼ä»åã ã¨ããã«ã°ã«ã¼ãã¯ã¼ã¯ï¼ã¨ãã¦å ±æåãã¦ãã¾ãã¾ããããã®ãã©ãã¤ã å¤æ´ã¯å¤§ããã¦ããããã容æã«ãã®ã«ã§ããªãã®ã ã¨æãã¾ããä»ããããªã«ãç®çã«ãã©ã®é¨åããã©ããªãµãã«ä»æ§åãããããããã¯ãªãã®ç®çã®ããã®å·¥ç¨ã®ã©ã®é¨åãªã®ããã©ããã©ããªãµãã«æ¹ä¿®ãããããããã¯ã©ããªç®çã®ããã®ãåãçµã¿ã®ã©ã®é¨åãªã®ãããããã£ããã¨ãä¸äººä½æ¥ãªããèªåã®ãªãã§èããæã£ã¦è¡ãªãã°ããã ãã®ãã¨ãªã®ã§ãããã°ã«ã¼ãã¯ã¼ã¯ã¨ãªãã¨ãã²ã¨ã¤ã²ã¨ã¤ãæèãããããªãã¨ãç°¡åã«è¿·èµ°ç¶æ ã«ãªã£ã¦ãã¾ãã®ã§ãã
ãã ãããã¢ãããã°ã«ã¼ãã¯ã¼ã¯ã§è¡ãTDDããå¿ è¦ããªãé¢åãªã ãã®è¡çºãªã®ããã¨ããã¨ãããã§ã¯ãªãã¨æãã¾ãããã¢ãããTDDã¨ãã«ãã¢ã¸ã£ã¤ã«ã®ã³ã³ã»ããã«ããããã«ããã£ã¼ãããã¯ãå¾ããã£ã³ã¹ãæ大åãããã¨ãã¦ããã®ã§ããããã§ãªããã°ãéã誤ã£ã¦ãã¾ããããªããã¨ãããã¨ã§ããããã ãã®æ½å¨ãªã¹ã¯ããããã¾ã§ã®ããã°ã©ãã³ã°ã®ä»æ¹ã§ã¯ãæ±ããã¾ã¾ã«ãã¦ããã®ã ã¨ããã®ãªã¹ã¯ã®åå¨ãããã¢ãããTDDã®é£ããã示ãã¦ããã®ã ã¨ãèããã¹ããªã®ã ã¨æãã¾ããã
ä»æ¥ã®ã¯ã¼ã¯ã§ã¯ãåã®åå ããã°ã«ã¼ãã¯ãéä¸ã§è©±ãåããæã¡ãç®çï¼ã©ã®ãããªæ©è½å¤æ´ããããã®ãï¼ãè¸ã¾ãã¦ãä»æ§åããç¯å²ãè¦å®ãããã®ä¸ã§æ¹ä¿®ãè¡ãããã«ãè»éä¿®æ£ãããã¨ãã§ãã¾ãããä»ã®ã°ã«ã¼ãã®æ¹ããããªããããªãã¨ãããã¦ãã¾ãããããããããã¨ãæ確ã«ãã¦ãå ±æããªããé²ãããã¨ãã大åã¿ããã§ããã¬ã¬ã·ã¼ã³ã¼ãæ¹åããã¼ã ã§è¡ãªããã¨ï¼ä»äºã§è¡ããªããå人ãã¬ã¼ã¨ãããã¨ã¯ãªãã§ãããï¼ã®é£ãããå®æãããã¨ãã§ããã®ã¯ãããã£ãã¨æãã¾ãã
ããããã°ãæ¨æ¥ã®TDDã®æ¦èª¬ã§åç°ããããã³ããã¯ãã¹ãã£ã¼ã«ã»ãã¼ã«ã»ã©ã³ãã®ã話ãããã¦ãã¦ããã®ã³ããã¯ã¯æè½ã¨åªåã®ç¸å ã®ç©èªã ãããããããã«ã¼ã§ãªãæ®éã®ããã°ã©ãã§ããç§ãã¡ããã¢ã¸ã£ã¤ã«ãTDDã§ãæ§ã ãªèª²é¡ãå°é£ã«ç«ã¡åãã£ã¦ãããã¨ããã®ã¨éãªããã¨ãããããªãã¨ãè¨ã£ã¦ãããã¾ãããããã¦ä»¥åãè§è°·ããï¼æåç°ããã«ã¢ã¸ã£ã¤ã«ã³ã¼ããåãã¦ããã£ããã¨ä¼ºã£ã¦ãã¾ãï¼ããæ®éã®ããã°ã©ãããã¼ã ã§åã¤ããã®ã¢ã¸ã£ã¤ã«ãã¨ãããã¨ãè¨ã£ã¦ãããããããªè¨æ¶ãããã¾ãããäºäººãä¼ãã¦ãã ãã£ããã¨ããä»åã®ã¯ã¼ã¯ã§èªåãå°ããªã¢ã«ã«æãããã¨ãã§ããããã«æãã¾ãã
TDD Boot Campåå¤å±ã«åå ã§ãã¦ãããã£ãã§ããä¸å¿ã«ãªã£ã¦ä¼ç»ããã¦ã¦é²ãã¦ãã ãã£ãid:bleis-tiftãããè¬å¸«ãåãã¦ãã ãã£ãåç°ãããåå ãã¦ãã ãã£ãçãããã©ãããããã¨ããããã¾ããã
åã¯åå¤å±ã¢ã¸ã£ã¤ã«åå¼·ä¼ã®ã¹ã¿ããã¨ãã¦éå¶ã®ãæä¼ããããã¦ããã ãã¾ãããä»åã®ãµããããããã®æ°ã¥ããã¢ã¤ãã¢ããããã次å以éã®TDD Boot Campã«æ´»ããããã¨ãããªãã¨æãã¾ãã次ã®TDD Boot Campã¯ãä¹å·ã¯ä½è³ã§ã®éå¬ãè¨ç»ããã¦ããã¨èãã¾ããããã²ææ義ãªå¦ã³ã®å ´ãéããã¦ãå¤ãã®äººãããããªå¯è½æ§ãè¦ã¤ãããã¾ãããã«ã