ãã¹ããè¡ã£ã¦ããå質ä¿è¨¼ãã¼ã ããå®éã«ã·ã¹ãã ã使ã£ã¦ããã客æ§ããä¸å ·åãå ±åãããã¨ããããªãã¯ã©ãæãã¾ããï¼ æ²ããã ããæ¥ããããã¨æããä¸å ·åä¿®æ£ã«ããã«çæãããã¨æ°ãã¯ããã®ã人æ ã¨ãããã®ã§ããããããç¦ã£ã¦ããã¨ãã«è¡ãä½æ¥ã¯ãã°ãã°è¦éãçããä¸ã¤ã®ä¸å ·åä¿®æ£ãä¸ã¤ã®æ°ããªä¸å ·åãçãã§ãã¾ããããªãã¨ã«ãªããã¡ã§ãã
ãã¹ãé§åéçºï¼TDD : Test Driven Developmentï¼ã¯ãããã°ã©ããèªåã®ä¸å®ãå æããèªåãæ¸ãã³ã¼ãã«èªä¿¡ãæã¡ãªããä¸æ©ä¸æ©é²ãã§ããããã®ææ³ã§ããä¸å ·åã®çºçã¯ã端çã«è¨ãã°ããã¾ã§ã®ãèªä¿¡ããæºããããäºæ ã§ãããã¹ãé§åéçºè ã¯ä¸å ·åã«ã©ãç«ã¡åããã®ã§ããããï¼
ãã¯ããã¹ããæ¸ãã¦ç«ã¡åãã£ã¦ããã®ã§ããç§ã¯ãã¹ãé§åéçºãæ°å¹´éå®è·µãã¦ããä¸ã§ãå¿ããã¦ããã²ã¨ã¤ã®ãæããããã¾ããããã¯ãä¸å ·åã®ä¿®æ£æã«ã¯å¿ ãå ã«ä¸å ·åãåç¾ããèªåãã¹ããæ¸ãã¦ããä¿®æ£ãããã¨ãããã®ã§ããããã¯ãã¡ããç§ã®çºæ¡ã§ã¯ãªãã XPï¼eXtreme Programmingï¼ ã TDD ã®å éããå¦ã³ããããå®è·µãããã¡ã«ç§ã«ã身ã«ã¤ãã¦ãããã®ã§ããä¾ãã°ããã¹ãé§åéçºå ¥éãã§ã¯ã次ã®ããã«è¨ããã¦ãã¾ãã
æ¬ é¥ãå ±åãããã¨ãã«æåã«ãã¹ããã¨ã¯ä½ããâ 失æããæå°ã®ãã¹ããä½æããå®è¡ããå¾ã«ä¿®æ£ããã
å帰ãã¹ãã¯ãå®å ¨ãªå è¦ãããã°ãæåã®ã³ã¼ãã£ã³ã°æã«ä½æãã¦ãããã¹ãã§ãããå帰ãã¹ããä½æãããã³ã«ãã©ãããã°ãæåã«ãã®ãã¹ããä½æã§ããããèãããã
ã¼ã¼ ããã¹ãé§åéçºå ¥éã p.136 å帰ãã¹ã
ä¸å ·åä¿®æ£æã®ãã¹ãã¯ã次ã®ãããªæé ã§è¡ãã¾ãã
- æå ã§ä¸å ·åãåç¾ããã
- ã³ã¼ãã注ææ·±ã調ã¹ãä¸å ·åãçºçããã¦ããæå°ã®é¨åãçµãè¾¼ã
- æå°ã¬ãã«ã§ä¸å ·åãåç¾ãããä¸å ·åãä¿®æ£ããããéããããªèªåãã¹ãã³ã¼ããæ¸ã
- æ¸ãããã¹ãã³ã¼ããå®è¡ããè½ã¡ããã¨ã確èªãã
- ä¸å ·åãä¿®æ£ãã
- æ¸ãããã¹ãã³ã¼ããéããã¨ã確èªãã
- å ¨ã¦ã®ãã¹ããå®è¡ããä¸å ·åä¿®æ£ãä»ã®é¨åãå£ãã¦ããªããã¨ã確èªãã
ããæ¸ãã¨é¢åã«æããããããã¾ããããä¸å ·åä¿®æ£æã®ãã¹ãã«ã¯ããã¾ãã¾ãªã¡ãªãããããã¾ãã
ä¸å ·åãæ¬å½ã«èªåã®èããåå ã§çºçãã¦ããããæããã«ãªã
ãã°ä¿®æ£ã¯ãå½ã¦ãã®ãã§ããã©ããªåå ã§ä¸å ·åãçºçãã¦ããã®ãããããã°ã©ãã¯æ¨çããªãã¦ã¯ãªãã¾ãããä¸å ·åãåç¾ããããã¹ããè½ã¡ããã¨ã確èªãããã¨ã§ãããããåå ã ããã¨èãã¦ä¿®æ£ããããå ¨ç¶éãå ´æãåå ã ã£ããã¨ãããããªäºæ ãé¿ãããã¨ãã§ãã¾ããã¾ããä¸å ·åä¿®æ£ã«æªçæã®ãã¡ã«ãã¹ããæåããå ´åããã¹ãã«ãã°ãããããèãã¦ããä¸å ·åã®åå ãç°ãªãã®ããã¨ã«ããèªåã®ç解ãã¾ã æµ ããã¨ãæå³ãã¦ãã¾ãã
対象ã³ã¼ãã¨å¯¾è±¡é åã«å¯¾ããç解ãæ·±ã¾ã
æå°åä½ãæ¢ãã¨ããè¡çºã¯åå ãæ·±ã追ããèãããã¨ã«ã¤ãªããã¾ããä¸å ·åã¯ãªãçºçããã®ã§ããããã対象é åã®ç解ãæµ ãã£ãã®ããããã¾ãããã³ã¼ããèªã¿ã«ããã£ãã®ããããã¾ãããä¸å ·åä¿®æ£ã¯æ°æ©è½ã®è¿½å ã¨ã¯ç°ãªããæ¢åã³ã¼ãã«å¯¾ãã調æ»ã®å²åã大ãããªãã¾ããããã¯æ¢åã®ã³ã¼ãã¨å¯¾è±¡é åã«å¯¾ããç解ãæ·±ããè¯ãæ©ä¼ã«ãªãã¾ãã
èªåã®å¼±ç¹ãæ°ã¥ãã«ããç¹ãããã
èªåã§ã¯ãã£ããã¨ãã¹ããæ¸ãã¦ããã¤ãããªã®ã«ä¸å ·åãä¸ã«åºãã¦ãã¾ã£ãã¨ãããã¨ã¯ãèªåã®æãè³ããªãã£ããã¹ããè¦ç¹ãããã¨ãããã¨ã§ããèªåã®å¼±ç¹ãæ°ã¥ãã«ããç¹ã¯ãæ®æ®µã³ã¼ããæ¸ãã¦ããã ãã§ã¯å¾ãããªãè¦ç¹ã§ãããé常ã«è²´éã§ããä¸å ·åä¿®æ£æã®ãã¹ããæ¸ãã¨ãã«ã¯ãåæ§ã®éã¡ãç¯ãã¦ããç®æã¯ç¡ãããå¿ ããã§ãã¯ãã¾ããããããã°ã©ãã人éã§ããããåããããªéã¡ãç¯ãã¦ããå ´åãããã®ã§ãã
ãã¹ãã®å ç¢ãã価å¤ãä¸ãã
èªåãã¹ãã®å©ç¹ã¯ããã¤ã§ãåãããã«å®è¡ã§ãããã¨ã§ããä¸å ·åä¿®æ£ãèªåãã¹ãã®å½¢ã«ãããã¨ã§ãä¸å ·åãæ¬å½ã«ç´ã£ããå³åº§ã«ç¢ºèªã§ãã¾ããããã«ãã®èªåãã¹ããæ®ãã¦ãããã¨ã§ãä»å¾ä¸å ·åãåçºããå ´åã§ãããã¹ããè½ã¡ããã¨ã«ãã£ã¦ããã«åããããã«ãªãã¾ããä¸å ·åãå æãã¦ç«ã¡ä¸ãããã³ã«ããã¹ãã³ã¼ãã®ç¶²ç¾ æ§ã¯ä¸ãããæ¢åã³ã¼ãã«å¯¾ããèªä¿¡ãæ·±ã¾ãã¾ãã
ããã¹ããæ¸ãã¦ããæéã¯ç¡ããã¨è¨ãããããä¸å ·åä¿®æ£æã«ãã¹ããæ¸ããã¨ãã²ã©ãé åãã«æãããã¨ãããããããã¾ãããããããæ£é¨ã®çµãè¾¼ã¿ãä¿®æ£ä¸ã®ç¢ºèªãä»ã®é¨åã¸ã®å½±é¿ã®ç¢ºèªãåçºé²æ¢ãªã©ãèããã¨ãä¸å ·åã«ãã¹ããæ¸ãã¦ç«ã¡åããã®ã¯åççãã¤å¹ççãªææ³ãªã®ã§ãã
ãã¹ããåã¨ãã¦èªä¿¡ãæã¡ãªããã³ã¼ããæ¸ããããããã¹ãé§åéçºã身ã«ã¤ããããã°ã©ãã®ä»äºã®ããæ¹ã§ãã
ä¸çªã®è¿éã¯é åãã ã£ããé åãããã俺ã®æçã®éã ã£ãã
ã¼ã¼ ã¸ã£ã¤ãã»ãã§ããªï¼STEEL BALL RUN ã¹ãã£ã¼ã«ã»ãã¼ã«ã»ã©ã³ 21å·»ï¼
ãã®ã¨ã³ããªã«ã¤ãã¦
ãã®ã¨ã³ããªã¯ TDD Advent Calendar 2013 - Qiita ã® 25 æ¥ç®ã®åå ã¨ã³ããªã§ãããã¯ã¦ãª blog ã«ç§ãå¼ã£è¶ãã¦æ¸ãæåã®ã¨ã³ããªã§ãããã¾ãã
è¨äºæ¬æã¯ãããã°ã©ããç¥ãã¹ã97ã®ãã¨ãã«åé²ãããç§ã®ã¨ãã»ã¤ã®åé²åå稿ãåºç社äºæ¿ã®ä¸ã§ã©ã¤ã»ã³ã¹ CC BY 3.0 ã§å ¬éãããã®ã§ããæå¾ã®å¼ç¨ãã¹ãã¼ã¹ã®é½åã§æ¸ç±ã«è¼ããããªãã£ãç¡å¿µããä¼ããã°å¹¸ãã§ãã
ããæ¢ã«å¤ãã®æ¹ã«æ°ä»ããã¦ãã¾ãã¾ããããå¯ç¨¿ããã¨ãã»ã¤ã®ã¿ã¤ãã«ã¯äºä¸äºã®ãªãºã ã«ãªãããã«å·¥å¤«ãã¾ããã
ãããã°ã©ããç¥ãã¹ã97ã®ãã¨ãã«ã¯ãããã°ã©ãã³ã°ã«é¢ãã沢山ã®è¯è³ªãªã¨ãã»ã¤ãå¯ç¨¿ããã¦ãã¾ããã¾ã ãèªã¿ã§ãªãæ¹ã¯ããã®æ©ä¼ã«æ¯éãæã«ã¨ã£ã¦ã¿ã¦ãã ããã
ããã°ã©ããç¥ãã¹ã97ã®ãã¨
- çºå£²æ¥: 2010/12/18
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
STEEL BALL RUN ã¹ãã£ã¼ã«ã»ãã¼ã«ã»ã©ã³ 21 (ã¸ã£ã³ãã³ããã¯ã¹)
- ä½è :èæ¨ é£å彦
- çºå£²æ¥: 2010/07/02
- ã¡ãã£ã¢: ã³ããã¯
- ä½è :èæ¨ é£å彦
- çºå£²æ¥: 2011/08/11
- ã¡ãã£ã¢: ã³ããã¯