TDDãã¯ãããæ¡ä»¶ #tddbc #tddconf
è²ã
ã¨å¿ãããã¦ããã°ãæ¸ãã¾ããã
JavaOneã®è©±ã¨ããJUnitã®è©±ã¨ãè²ã
æ¸ããããã§ããâ¦ãããã°ããææ
¢ãªã®ã§ãã
ã§ãTDDの前方依存と後方依存ã§æè¦ã欲ããã¨ã®ãã¨ãªã®ã§èªåãªãã®æè¦ãã
æè¡çãªåæ¹ä¾å
ãTDDãå§ããåã¨çµTDDãå®éããããã«å¿ è¦ãªæè¡ã
ã»æä½é対象è¨èªã§ã³ã¼ãããããããã«ãªã£ã¦
ã»æä½éãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã使ããããã«ãªã£ã¦
ã»ãªãã¡ã¯ã¿ãªã³ã°ããã£ããå¦ãã§
ã»å¯¾è±¡è¨èªã§ã®ããããªã³ã¼ããè¨è¨ã¨ã¯ä½ããç¥ã£ã¦
ã»ãã¹ããã¡ã¼ã¹ããç¥ã£ã¦ãããã¦ããããã¹ã¿ã¼ãã©ã¤ã³ã
èªåã¯ããã¯çåã§ãã
æå¾ã®ããã¹ããã¡ã¼ã¹ããç¥ã£ã¦ãã¨ããé¨åã¯TDDã«é¢ãããã¨ã§ããã©ããã以å¤ã£ã¦TDDãå§ããã¹ã¿ã¼ãã©ã¤ã³ã§ã¯ãªããã½ããã¦ã§ã¢éçºã¨ãã¦ã®ã¹ã¿ã¼ãã©ã¤ã³ãã¨æãã¾ãã
è¨ãæããã¨
- æä½é対象è¨èªã§ã³ã¼ããæ¸ããªãã¨ãã½ããã¦ã§ã¢éçºã§ããªã
- æä½éãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã使ããããã«ãªããªãã¨ãã½ããã¦ã§ã¢éçºã¨è¨ããªã
- ãªãã¡ã¯ã¿ãªã³ã°ãã§ããªããã°ãã½ããã¦ã§ã¢éçºã¨è¨ããªã
- 対象è¨èªã§ã®ããããªã³ã¼ããè¨è¨ã¨ã¯ä½ããç¥ã£ã¦ãªããã°ãã½ããã¦ã§ã¢éçºã¨è¨ããªã
ã¤ã¾ããã½ããã¦ã§ã¢éçºãããä¸ã§ãã¦ããããã¹ãã¨ãªãã¡ã¯ã¿ãªã³ã°ãå¿ é ã§ãããªãã°ãããã¯TDDã®æ¡ä»¶ã§ããªãã§ããªããè¨è¨ã¨ãã«ã¤ãã¦ãã¡ã³ããã³ã¹æ§ãèããã°å¿ é ãããã¯TDDãæ¡ç¨ãããå¦ãã¯ãã¾ãé¢ä¿ãªãã¨æãã
ãããåºæ¥ã¦ãããã¯å¥ã¨ãã¦ã
ã§ããããåºæ¥ãªããã¤ã¯ã½ããã¦ã§ã¢éçºãããè³æ ¼ãªãã®ã§éçºãããªãã¨ãããã¨ãã¨ããã°ãååã¯æ£è§£ã§ååã¯ééãã ã¨æãã¾ãã
æåãããããªã¹ãã«ããã人ã¯ãã¾ãããæ©ã人ã§ãï¼âï¼å¹´ãæ®éãªäººã§ã¯ï¼å¹´ãããã¯ãããã¨æãã¾ããã ãããããããæããå
±ã«å¦ã¼ãã¨ããæåããã¼ã ã«å¿
è¦ã¨èãã¦ãã¾ããã¾ããæ¯ççã«ã1人ã®çç·´è
ã«5人ã®å¼åã¨ãç¡çã²ã¼ã§ãããã4人ã®çç·´è
ã«2人ã®å¼åãããã®å²åã§ãªããã°ãããªããå¿è«ãå¼åããªã½ã¼ã¹ã¨ãã¦1人ã¨ã«ã¦ã³ããããã®ãã¾ããã§ãã
ã¤ã¾ããããããæè¡ã®ããçµç¹ã§ããã¼ã ã§è²ã¦ãä½è£ãããã®ã¯å¿ è¦ãªæ¡ä»¶ãªããã¨ããããªãã¼ã ã§ãããªãã°ãTDDãå§ããã®ã«åææ¡ä»¶ãªãã¦ä½ããªãã¨æããéã«ã©ããã§ãã¦ããªããã¼ã ã§ãããªãã°TDDã©ãããã½ããã¦ã§ã¢éçºããããæ¹ãããã¨æãã
ãããªãã¨ããæ¥å¹´ãã社ä¼äººããã @pocketberserker ã¸ã¨ãæ¸ãæ®´ã£ã¦ããã¾ãã
追è¨
id:murishinai æ°ã
åé¡ç¹ã¨ãã¦ã¯ãæ欲ã®ãã人ããããã辺ã®æè¡ã身ã«ã¤ãããã¨ããªããã¨ããããã¯ãããã辺ã®æè¡ãæããæéããªã/ãããã¯ä¼ç¤¾ãèªãã¦ãããªããã¨ã
ä¼ãã£ã¦ããªãã£ããããªã®ã§ã大åãªãã¨ãªã®ã§ãæ¸ãã¾ããããããªä¼ç¤¾ã¯ãã½ããã¦ã§ã¢éçºããããæ¹ãããã¨æããã
çµé¨ãæµ
ãã¦ï¼ã¾ã ï¼ã§ããªã人ã¯è¨±å®¹ãããã¹ãã ãã©ãã½ããã¦ã§ã¢æ¥çã¨ãã¦ããªãã¡ã¯ã¿ãªã³ã°ããã¹ãã軽è¦ããä¼ç¤¾ã¯æ»
ã¶ã¹ãæ代ã ã¨æãã¾ãã