å質ã«å³ããçµç¹ã§ããªãå質ãå£åããã®ãï¼
ãã®ã¨ã³ããªã¼ã¯ãSoftware Test & Quality Advent Calendar 2011ãã«ããã12/18åã¨ãã¦æ¸ãã¦ãã¾ãã
12/17㯠@NoriyukiMizuno ããã«ãã ãソフトウェアテストの勉強会。1年目。ã ã¨ããã¨ã³ããªã§ããã
ä»åã¯ã以åããæãã¦ããçç¾ã«ã¤ãã¦ãç§ãªãã®èããã¾ã¨ãããã®ã§ãã
ç¹ã«ãããã¼ã¸ã£ã¼ãçµå¶å±¤ã¨å¼ã°ãã人ã«èªãã§ãããããã¨æã£ã¦ããã®ã§ããããã®ããã°ã®èªè 層ããèããã¨ããã¾ãå¤ãã¯ãªããããªã®ã§ã以ä¸ã«ç¤ºãåé¡ã«ã¤ãã¦ãæ©ãã§ããï¼è¦ããã§ãããããªäººããããã¾ãä¼ããã°è¯ãã¨æã£ã¦ãã¾ãã
çç¾ããåé¡
ç§ã¯ãSEPGï¼Software Engineering Process Groupï¼ã¨ããå½¹å²ä¸ããããããªã½ããã¦ã§ã¢éçºã®ããã¸ã§ã¯ããçµç¹ã«é¢ãã£ã¦ãã¾ããã
絶対æ°ã§è¨ãã°ããããªã«å¤ãã¯ãªãããããã¾ãããããã®çµé¨ä¸æãã¦ããã®ã¯ããã®ã¿ã¤ãã«ã®éãã
å質ã«å³ããçµç¹ã§ããªãå質ãå£åããã®ãï¼
ã¨ãããã¨ã
ã¬ãã¥ã¼ãå¼·åãããããã¹ããå¼·åããããå質åæãå¼·åãããã¨ããããããªå¯¾çãæã£ã¦ããã«ãé¢ããããå質ãç¶æãããã©ããããå£åãããã¨ãããã¾ãã
ãã®åå ã«ã¤ãã¦ãç§ãªãã®çããæ¸ãã¨ã
ããã¸ã§ã¯ãï¼çµç¹ã®ä½å¶ã«åé¡ããã
ã¨æã£ã¦ãã¾ãã
ã©ãã®çµç¹ã§ãããç¨åº¦ã®è¦æ¨¡ã«ãªãã°ãå質ä¿è¨¼ã¨ããæ´»åãåºã¦ããã¨æãã¾ãã
å
¸åçãªä¾ã¨ãã¦ãããã°å¯åº¦ãªã©ã®ææ¨ã決ããå質è¦è§£ãªã©ãæ±ããããã¨ãããã¨ãããã¾ãããçµæããã§ãã¯ãããããã«ããããæ±ããããéçºå´ã¯ãé©åãªåãçµã¿ï¼åæãããããããææ¨å¤ã®ç¯å²å
ã«åããããã¨ããæèãåãã®ã§ãï¼æ¬æ«è»¢åï¼ã
ãããªãã¨ãå質ã®è¯ãã¢ããæä¾ãããã¨ããæèãå¼±ããªãã大æ¦ã¯ããããªãã«è¯ãè¦ããå質ã¬ãã¼ããæåºãã¦ç´å¾ããï¼ããããã¨ãããã¨ã«ãªãã®ã§ãã
ããããã話ãã¨æã人ãå¤ãããããã¾ããããå質ãå³ãããã§ãã¯ãããããã«ãå質ãå£åãããã¨ããçç¾ã«ã¯ãéçºè ãå質æ å½è ãæ©ãã§ããç¶æ³ãç¶ãã¦ããç¾å ´ã¯å¤ãã®ã§ã¯ãªãã§ããããï¼
ããã¾ã§èªãã§ãã ããTDDãããï¼ããªã©ã¨æããã人ãããããããã¾ããããç§ã®èãã§ã¯ãããã§ã¯æ ¹æ¬è§£æ±ºã¯ããªãã¨æã£ã¦ãã¾ãã
TDDã§ã«ãã¼ã§ããã®ã¯å®éçã«ã¯ä¸é¨ã®ãã¹ãã§ããããããããåããããã¯ãããµã¼ãã¹ãæä¾ããé¢ä¿è
ããæµå¯¾é¢ä¿ã®ã¾ã¾ã§ããã®ã¯ã解決ãããã¨ãããªã®ã§ãã
ã¢ã¸ã£ã¤ã«ã§ã¯ãå調ãã大äºã«ããã¦ãã¾ããã顧客ã ãã§ãªããéçºãã¼ã ï¼çµç¹ã®ä¸ã§ããåæ§ã«å¤§äºã§ãããï¼
ä½å¶ã®ãªãã¡ã¯ã¿
ãã¦ããããããæ¬é¡ã
ç§èªèº«ã試è¡ä¸ã§ãããä¸è¨ã®ãããªåé¡ãã©ãããã°æ¹åããããããèãã¦ãã¾ãã
ãã®çµæãå¿
è¦ã ã¨èãã¦ããã®ã¯ã以ä¸ã®3ã¤ã®è»¢æã
1. ãå質ä¿è¨¼ãã§ã¯ãªããå質æ¯æ´ãã
ã¾ããä¿è¨¼ãã¨ããè¨èãè¯ããªãããªã®ã§ãå質ä¿è¨¼ãã¨ããè¨èãé¨ç½²ããç¡ããã¦ãã¾ãã¾ãããã
â»å
¨å½ã®å質ä¿è¨¼ã®æ¹ãããããªãã m(__)m
â»ã§ããå®åã®ããå質ä¿è¨¼ã®æ¹ã£ã¦ãå®éçã«ã¯ãä¿è¨¼ã ãããã¦ããã®ã§ã¯ãªããéçºãæåãããããç©æ¥µçã«æ¯æ´ãã¦ããã¨æããã§ãããã
ãä¿è¨¼ãã¨è¨ããããããã«ãå質ä¿è¨¼å´ãããã®å¾åé¡ãçºçããã¨ãã®è²¬ä»»ãèãã¦ãã¾ããå½¢å¼çãªææãç²æ¢ãããã¦ãã¾ãã®ã§ã¯ãªãã§ããããï¼
責任ã¯ãããã¸ã§ã¯ãå
¨ä½ã§åæ
ããã®ãé©åã§ãã ãããããããã¸ã§ã¯ããæåãããããå質ã¨ã³ã¸ãã¢ãéçºã¨ã³ã¸ãã¢ãæ¯æ´ããããéçºã¨ã³ã¸ãã¢ãå質ã¨ã³ã¸ãã¢ã«ã¢ããã¹ãåããããã¡ãè¯ãã¨èãã¦ãã¾ãã
å®éã«ã¯ã
- è¨è¨ããã¹ãã±ã¼ã¹ã®æ¤è¨ãä¸ç·ã«è¡ã
- å質ã¨ã³ã¸ãã¢ã¯ãéçºã¨ã³ã¸ãã¢ãèªåãã¹ããè¡ãããããããæ¯æ´ãã
- ã¡ããªã¯ã¹ãéçºã¨ã³ã¸ãã¢ãåéããåæã¯å質ã¨ã³ã¸ãã¢ãè¡ã
ã¨ãã£ãæ´»åãå¿ è¦ã§ãããã
2. ãããç´ããã§ã¯ãªãããã£ã¼ããã©ã¯ã¼ããã
å質ã«åé¡ãããã¨ãå¼·åãã¹ãããã¬ãã¥ã¼ã®ããç´ããæ±ãããããã¨ã£ã¦ããã¾ãããï¼
ã§ããããã£ã¦å¤§æµãã¾ãè¡ãã¾ããã
ãªããã¨ããã¨ããããããèªåãã¡ãåãã£ã¦ããªãã£ãé¨åã§åé¡ãåºãã®ã§ãã£ã¦ããããåãããªãã¡ã³ãããã£ã¦ããéãããããæéãããã¦ãç¡é§ã§ãã
å·¥ç¨æ¯ããã¤ãã¬ã¼ã·ã§ã³æ¯ã§ããªãããã®ãã§ãã¯ãããã®ã¯éè¦ã ã¨æãã¾ãã
ãã ããã®çµæãããç´ãä½æ¥ã«ãªãã®ã£ã¦ãã¢ããã¼ã·ã§ã³ãä¸ããã¾ãããã
åé¡ãããã°ã次ã®å·¥ç¨ãã¤ãã¬ã¼ã·ã§ã³ã§ä½ããã¹ããããã£ã¼ããã©ã¼ã¯ã¼ããè¡ãã¹ãã ã¨æãã¾ãã
ãããããéããæéã¯æ»ããªããã
è¨è¨æ¼ãã試é¨æ¼ãããã£ãã¨ãã¦ãããã®å¾ã®å·¥ç¨ãã¤ãã¬ã¼ã·ã§ã³ã§ãä½ããã¹ããã«æ³¨åãã¦èããæ¹ã建è¨çã ã¨æãã¾ããããã®ããã«ãå質ã¨ã³ã¸ãã¢ã¯é©åã«ã¢ããã¤ã¹ã§ããã ãã®ã¹ãã«ãå¿ è¦ã ã¨æãã¾ãã
3. ãã¬ãã¥ã¼ãã§ã¯ãªããæ¤è¨ä¼ãã
æè¿ããã¬ãã¥ã¼ãã¯é£ãããªã£ã¦æã£ã¦ãã¾ãã
ã¬ãã¥ã¼ã¯ããªã«ããããã§ããã¢ãããè©ä¾¡ãããã¨ã«ãªãã¾ããã人éãã§ããã¢ããããã¨ãããã®ãã©ã¼ã«ã¹ã§ç©äºãèããã¡ãããããã¨ãéè¦ã§ãã£ã¦ãæ¸ããã¦ããªãé¨åã®åé¡ã¯ãè¦éãã¦ãã¾ããã¡ãªãã§ãããã
ã¹ãã«ã®ãã人ã¯ãå½ç¶ãã®ãããªãã¨ã¯ãªãã§ãããå¿
ããããã®ãããªäººã°ããã§ãªãã®ãç¾å®ã§ãã
ãã®ããã«ãç§ã¯ãæ¤è¨ä¼ããå§ãã¦ã¾ãã
- ããã¸ã§ã¯ãã®é²ãæ¹
- è¨è¨ã®å 容
- ãã¹ãã®è¦³ç¹æ½åº
ãªã©ãã¬ãã¥ã¼ãããåã«ãæ¤è¨ä¼ã§èããåºãåãæ¹ããå 容ãè¯ãã¢ããåºæ¥ä¸ããã¾ããããã¼ã¿ã«ãªæéãç¯ç´ã§ããã¨æãã¦ãã¾ãã
æå¾ã«
æè¿ã§ã¯ããDeveloperTestãã¨ãQATestãã®ããã«ãéçºã¨ã³ã¸ãã¢ãè¡ããã¹ãã¨ãå質ã¨ã³ã¸ãã¢ãè¡ããã¹ããåºå¥ããã¦ãã¾ã£ã¦ããã±ã¼ã¹ãããã¾ãã
æ¬æ¥ã¯ãè¯ããããã¯ãï¼ãµã¼ãã¹ãæä¾ãããã¨ããé¨åã§ç®çã¯å ±éã ã¨æã£ã¦ããã®ã§ãããæªãã å質管çï¼å質ä¿è¨¼ã®ããæ¹ã«ãããããããé¨åãçã¾ãã¦ãã¦ãã¾ã£ã¦ããããã«æãã¦ãã¾ãã
ç§ã¯ãä»ã§ãããéçºè ããå質管çè ããããã¸ã§ã¯ãããã¼ã¸ã£ãã¨ãè¤æ°ã®å½¹å²ãæã£ã¦ãã¾ããå®éã®ä»äºããã³ã¼ãã£ã³ã°ããã¾ãããä»ããã¸ã§ã¯ãã®å質管çããã¾ãããOSSããã¬ã¼ã ã¯ã¼ã¯ã®ææ¡ãªã©ããã¦ãã¾ãã
ä»åããããã®å½¹å²ã決å¥ãããããªç¶æ³ã¯å¤ãã¦ããããã¨æã£ã¦ãä»åã®ã¨ã³ããªãæ¸ãã¾ããã