èªåã¢ã»ã³ããªã«ã€ããŠæåã«åŠã¶äººã®ã»ãšãã©ã¯ãããã«æ³šæãæãå¯èœæ§ããããŸãããããæŽçããŠç¶æããããã®é床ã®äººä»¶è²»ã¯çŸå®ã§ãããèŠè¿ãã«ãå°æ¥çã«ã¯éçºå¹çã®åçãªæ¹åãæäŸãããã ãã§ãã ãããå®éã«ããç¥ã£ãŠãã人ã¯æ¥œèŠ³çã§ãããªããªããã·ã¹ãã ã圢æããåã«ã·ã¹ãã ãæäœããå Žåããã¹ãŠãå€æŽããã«ã¯é ãããå Žåãããå€ãã®åé¡ãåé¿ããæ¹ãã¯ããã«ç°¡åã ããã§ãã
ããã§ã¯ãèªåã¢ã»ã³ããªã¯ã©ã®ããã«ããŠãã®ãããªé¢å¿ãéãããã®å©ãã«ãã£ãŠã©ã®ãããªæ©äŒãå®çŸã§ããã©ã®ãããªçµæãéæã§ããã®ã§ããããïŒ ãããç解ããŠã¿ãŸãããã
ããŒã0ïŒå°å ¥ãã代ããã«
ãã ãã詳现ã«æ€èšããåã«ã以äžãèŠå®ããå¿ èŠããããŸããã¢ã»ã³ããªèªååã®ãããã¯ã¯éåžžã«åºç¯å²ã§ããããã®ã¿ã¹ã¯ãŸãã¯ãã®ã¿ã¹ã¯ãå®è£ ããæ¹æ³ã«é¢ããèšäºãå€æ°ãããŸãã åæã«ãçµç¹ã®ãã¹ãŠã®è€éããšæœåšçãªæ©äŒã®èª¬æãšãšãã«ãèªåã§èšå®ããæ¹æ³ãèªãããšãã§ããå Žæã¯ã»ãšãã©ãããŸããã ãããã£ãŠããã®èšäºã§ã¯ããã®èŠ³ç¹ããèªåã¢ã»ã³ããªãæ€èšããŸããã ãã®æ®µéãŸãã¯ãã®æ®µéãå®éã«ã©ã®ããã«å®è£ ããããã«èå³ããã人ã¯ãå¯èœã§ããã°ãè¿œå ã®è³æãžã®ãªã³ã¯ãŸãã¯ããã«äœ¿çšã§ããããã°ã©ã ã®ååããªã¹ããããŸãã
ãœãããŠã§ã¢ãéçºãããšãããœãŒã¹ã³ãŒããä¿®æ£ããŠãããŠãŒã¶ãŒã«æäŸãããŸã§ã®æéã¯å€ãã®èŠå ã«äŸåãããšããäºå®ã«ãã°ãã°çŽé¢ããå¿ èŠããããŸãã ãããè¡ãã«ã¯ãæåã«ã©ã€ãã©ãªã®åœ¢ã§ã³ãŒããåéããåäœããããšã確èªããã€ã³ã¹ããŒã«åŸã«ã€ã³ã¹ããŒã©ãŒãã¢ã»ã³ãã«ãã補åããã¹ãããå¿ èŠããããŸã-ãããã®ãã¹ãŠã®ã¢ã¯ã·ã§ã³ã¯å³åº§ã«å®è¡ã§ããªããããå®è£ ã®ã¿ã€ãã³ã°ã¯æ¹æ³ã«ãã£ãŠæ±ºå®ãããŸãééããŸãã
äžæ¹ã§ã¯ãäžèšã®ãã¹ãŠã®æé ã¯éåžžã«åççã«èãããŸããå®éããŠãŒã¶ãŒã«ãšã©ãŒãå«ã補åãæäŸããçç±ã§ãã ããããå®éã«ã¯ãç¶æ³ã¯çµ¶ãéãªãæéãšãªãœãŒã¹ã®äžè¶³ã«ãã£ãŠæªåããŸãããšã©ãŒã®ä¿®æ£ã¯ã§ããã ãæ©ãå ¬éããå¿ èŠããããŸãããåæã«ã補åãŸãã¯ãã®ã¢ã»ã³ããªã®å質ãæ åœããè ã¯ããã®ååšãããå¿ èŠã§ããä»ã®äœæ¥ã«å€§ããé¢äžããŠããŸãã
ãããã£ãŠãä¿®æ£ãçºè¡ããããã®æé ã®äžéšã¯å®æçã«ã¹ããããããïŒããšãã°ãã³ãŒããèšèšæšæºã«æºæ ããŠãããã©ããããã§ãã¯ãããªãïŒããå®å šã«å®è£ ãããŠããªãïŒããšãã°ããšã©ãŒãä¿®æ£ãããšããäºå®ã®ã¿ããã§ãã¯ãããããä»ã®ã·ã¹ãã æ©èœãžã®åœ±é¿ã¯ãã§ãã¯ãããªãïŒ ãã®çµæããŠãŒã¶ãŒã¯ãã¹ãã®äžååãªãœãªã¥ãŒã·ã§ã³ãŸãã¯éšåçã«åäœäžèœãªãœãªã¥ãŒã·ã§ã³ãåãåããéçºè ã¯ãã®åŸããã«å¯ŸåŠããå¿ èŠããããå¿ èŠãªæéãç¥ããŸããã
ãã ãããã®ãããªåé¡ã®ããç¶æ³ã¯ãåé¿ãããªããã°ãå°ãªããšããã®åœ±é¿ã軜æžã§ããŸãã ã»ãšãã©ã®æé ã¯ããªãåäžã§ãããããã«éèŠãªããšã¯ãã¢ã«ãŽãªãºã ãé©åã§ããããšã«æ³šæããŠãã ããã ãããã£ãŠãå®è¡ãèªååã«ç§»è¡ãããšãå®è¡æéãççž®ãããå®è¡äžã«ãã¹ãããããå¿ èŠãªæäœãè¡ããªãã£ããããå¯èœæ§ãæå°éã«æããããŸãã
ããŒã1ïŒã³ãŒã
ããã°ã©ã ããã®ãã¹ãŠã®èŠä»¶ãé å®ããããã«ã¯ããŸãã³ã³ãã¥ãŒã¿ãŒãç解ã§ãã圢åŒã§ããããèšè¿°ããå¿ èŠããããŸãã éçºè ãåæ§ã®å€æã«åãçµãã§ããŸã-ãã®äœæ¥ã®çµæããœãŒã¹ã³ãŒãã衚瀺ãããŸãã 䜿çšããã¢ãããŒãã«å¿ããŠãããã«ãŸãã¯ã³ã³ãã€ã«åŸã«å®è¡ã§ããŸãã ãã®è¡šçŸã®æçšãªç¹æ§ã®1ã€ã¯ãããŸããŸãªäººã ããéçºæéå šäœãéããŠçŽæ¥éä¿¡ããããšãªããäºãã«ç¬ç«ããŠã·ã¹ãã ãå€æŽã§ããããšã§ãã 話ãèšèãšã¯ç°ãªããã³ãŒãã®æäœãç°¡åã§ãä¿åç¶æ ãè¯ããå€æŽã®å±¥æŽãä¿åã§ããŸãã åæã«ãåäžã®ã¹ã¿ã€ã«ã®ã³ãŒãèšèšãšæ§é åã«ãããéçºè ã¯åæ§ã®èãæ¹ãããããšãã§ããã³ã©ãã¬ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ã«ããã©ã¹ã®åœ±é¿ãäžããŸãã
ãœãŒã¹ã³ãŒãã®ä¿åãç°¡çŽ åããå€ãã®äººã䜿çšã§ããããã«ããã«ã¯ãããŸããŸãªããŒãžã§ã³ç®¡çã·ã¹ãã ãåæã«åœ¹ç«ã¡ãŸãã ããšãã°ãTFSãGITããŸãã¯SVNãå«ãŸããŸãã ãããžã§ã¯ãã§ã®äœ¿çšã«ããã次ã®ãããªåé¡ã«ããæ倱ãåæžã§ããŸãã
- è€æ°ã®äººããã¡ã€ã«ãç·šéãããšãã«åãã³ãŒãã®è€æ°ã®ããªãšãŒã·ã§ã³ãååŸãã
- 移åäžãŸãã¯åŸæ¥å¡ã®1人ã®ç©å¿ãã«ããéèŠãªã³ã³ããŒãã³ãã®ãœãŒã¹ã³ãŒãã®æ倱
- ãšã©ãŒãæ€åºãããæ©èœããŸãã¯æ¹åãå¿ èŠãªæ©èœã®äœæè ãæ€çŽ¢ããŸã
ãã®ãããªãœãŒã¹ã³ãŒãã®éäžã¹ãã¬ãŒãžãšã¿ã€ã ãªãŒãªæŽæ°ã«ããããã®äžéšã倱ãããããšãå¿é ããããšã¯ã§ããŸããïŒã¹ãã¬ãŒãžèªäœãä¿èšŒãããŠããå ŽåïŒãããã«èå³æ·±ãããšã«ããã®äžã§ã¢ã¯ã·ã§ã³ãå®è¡ã§ããŸãèªå泚æã
䜿çšããã¹ãã¬ãŒãžã·ã¹ãã ã®ããŒãžã§ã³ã«å¿ããŠãèµ·åæ¹æ³ã¯ç°ãªãå ŽåããããŸããããšãã°ãæå®ã®ã¹ã±ãžã¥ãŒã«ã«åŸã£ãŠå®æçã«ããŸãã¯ä¿åãããŠããããŒã¿èªäœã«å€æŽãå ããå Žåã§ãã éåžžããã®ãããªèªååãããäžé£ã®ã¢ã¯ã·ã§ã³ã¯ã人éã®ä»å ¥ãªãã«ã³ãŒãã®å質ããã§ãã¯ãããŠãŒã¶ãŒã«éä¿¡ããã€ã³ã¹ããŒã©ãŒã®ã¬ã€ã¢ãŠãã確èªããããã«äœ¿çšããããããå€ãã®å Žåãåã«èªåã¢ã»ã³ããªãšåŒã°ããŸãã
ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ã¹ã±ãžã¥ãŒã©ã«ãã£ãŠèµ·åãããåçŽãªã¹ã¯ãªããã¯ãèµ·åãæŽçããã³ãŒãã®å€æŽã远跡ããçµæãå ¬éããããã®åºç€ãšããŠæ©èœããŸãããããå°éçãªããã°ã©ã ããããè¡ããšããã§ãããã ããšãã°ãTFSã䜿çšããå ŽåãTFSãã«ããµãŒããŒã¯è³¢æãªéžæã§ãã ãŸãã¯ãTeamCityãHudsonãCriuseControlãªã©ã®æ±çšãœãªã¥ãŒã·ã§ã³ã䜿çšã§ããŸãã
ããŒã2ïŒã³ãŒããã¹ã
ã©ã®ã¢ã¯ã·ã§ã³ãèªååã§ããŸããïŒ å®éããããã®å€ãããªã¹ãã§ããŸãã
- ã€ã³ã¹ããŒã©ãŒã®ã¬ã€ã¢ãŠã-ã·ã¹ãã ã®ãŠãŒã¶ãŒã¯éåžžãã·ã¹ãã ã®èšè¿°ãçµã¿ç«ãŠæ¹æ³ã§ã¯ãªããã·ã¹ãã èªäœã«èå³ãæã£ãŠããŸããã€ãŸããèªåã§ã€ã³ã¹ããŒã«ã§ããå¿ èŠããããŸãã
- æŽæ°ã®åœ¢æ-ã·ã¹ãã ãæŽæ°ã®ãã¯ãããžãŒããµããŒãããŠããå Žåãé©åãªãªãã·ã§ã³ã¯ãæ¬æ Œçãªã€ã³ã¹ããŒã©ãŒãåãåãã ãã§ãªããããããŒãžã§ã³ããå¥ã®ããŒãžã§ã³ãžã®è¿ éãªç§»è¡ã®ããã®ã€ã³ã¯ãªã¡ã³ã¿ã«ãããã®ã»ããããããŸã
- ã·ã¹ãã ã®ãã¹ã-ãŠãŒã¶ãŒã¯å®å®ããããŒãžã§ã³ã®ã¿ãåãåããå¿ èŠãªæ©èœãå®è£ ããå¿ èŠãããããããã§ãã¯ããå¿ èŠããããŸãããã§ãã¯ã®äžéšã¯èªååã«è»¢éã§ããŸã
- ããã¥ã¡ã³ããŒã·ã§ã³-ãã®ã¢ã¯ã·ã§ã³ã¯ãã·ã¹ãã ã®å€éšAPIããµãŒãããŒãã£ã®éçºè ã«æäŸããå Žåãããã³å éšéçºäžã«åœ¹ç«ã¡ãŸããããã¯ãã·ã¹ãã ã倧ãããªããã³ãŒããå€ããªãã»ã©ãã·ã¹ãã ãå®å šã«ç¥ã£ãŠãã人ãå°ãªããªãããã§ã
- ããŒãžã§ã³ã®äºææ§ã®ç¢ºèª-ã³ã³ãã€ã«ãããã©ã€ãã©ãªã®ç°ãªãããŒãžã§ã³ãæ¯èŒããå Žåãåã¢ãžã¥ãŒã«ã§äœ¿çšå¯èœãªå€éšAPIãå€æŽãããæéã«æ°ä»ãããšãã§ããŸãïŒãã®äžã®äœããå€éšããèŠããªããªã£ãå Žå-ããã䜿çšããã¢ãžã¥ãŒã«ãŸãã¯ããã°ã©ã ã¯æ°ããããŒãžã§ã³ãšäºææ§ããªãå¯èœæ§ããããŸã; ãŸããã®é-APIããã¥ã¡ã³ãã«èšè¿°ãããŠããªãéå°ãªæ°ã®é¢æ°ã¯ãè¿œå ããããadded玢奜ããªç®ããé ãå¿ èŠãããããšã瀺ããŠããŸã
- åãå ¥ããããŠããã«ãŒã«ãšæšæºã確èªãã-ã³ãŒããåãæ¹æ³ã§èšèšãããŠããå Žåãã·ã¹ãã ã®éçºè ã¯èªç±ã«ããã²ãŒãã§ããŸãã äœããæ€çŽ¢ãããšãã«ãäºæ³ãããå Žæã§èŠã€ãããªãã£ãããéæšæºåœ¢åŒã§æžãããŠããªãå Žåãç®çã®åœ¢åŒãèŠã€ãã£ããæå³ãããå Žåã§ããããã«äœåãªæéãè²»ããããŸãã
- ã¢ã»ã³ããªèªäœã®ç¢ºèª-èªåã¢ã»ã³ããªãé·æé䜿çšããåŸãæå³ãããšããã«åäœããªãããšãå€æããå Žåãããšãã°ããã¹ããèŠã€ãããªãã£ãããŸãã¯å®è¡ãããªãã£ãããã«ãã¹ãŠã®ãã¹ããå®è¡ãããªãã£ãå Žåãã£ãã«äœ¿çšãããªãã¢ãžã¥ãŒã«ããã¥ã¡ã³ãã®ã¢ã»ã³ããª
ããã¯ããããžã§ã¯ãã§å®éã«åœ¹ç«ã€å¯èœæ§ã®ãããã®ã®äžéšã«ãããŸãã-å®éãåæ§ã®ã¢ã€ãã ããããããããŸãã
ããããäžå çã«ä¿åãããŠããã«ãããããããããã°ã©ã ã®ãœãŒã¹ã³ãŒãã®ã¿ãååšããå Žåãæ£ç¢ºã«äœãèªååã§ããŸããïŒ ãã®å Žåããã¡ã€ã«ã®ã¿ãåæããããšãã§ããå¶éã課ãããããããããã»ã©å€ãã¯ãããŸãããæãåçŽãªãã§ãã¯ã®ã¿ã䜿çšãããããµãŒãããŒãã£ã®éçã³ãŒãã¢ãã©ã€ã¶ãŒãæ€çŽ¢ããŠäœ¿çšããããç¬èªã®ã³ãŒãã¢ãã©ã€ã¶ãŒãäœæããŸãã ãã ãããã®ç¶æ³ã§ã¯æ¬¡ã®å©ç¹ããããŸãã
- ãã¡ã€ã«ãŸãã¯ãã£ã¬ã¯ããªã®å¯çšæ§ããããã®åœåæ¹æ³ããã¹ãèŠåã確èªã§ããŸããã»ãšãã©ã®éçºè ã«ãšã£ãŠæçšã§ã¯ãªãå¯èœæ§ããããŸãããå Žåã«ãã£ãŠã¯åæ§ã®ç¶æ³ããããŸãã
- ãœãŒã¹ã³ãŒããã¡ã€ã«ã®å 容ãåæããŠãåãå ¥ããããæšæºãžã®æºæ ãæ€èšŒããŸããããšãã°ããã°ããã®éãåãã¡ã€ã«ã®å é ã«æ©èœã®èª¬æãšäœæè ã®æ瀺ãå«ãè€æ°è¡ã®ã³ã¡ã³ãã眮ãããšãäžè¬çã§ãã
- å€éšã¢ããªã±ãŒã·ã§ã³ã«ãããã¡ã€ã«ã®èŠä»¶ãžã®æºæ ã確èªããŸããããšãã°ãã¢ã»ã³ããªã®åŸåã§ãã¹ããå®è¡ããå Žåã説æãå«ããã¡ã€ã«ãæ£ããæ§æããããã¹ããèµ·åæã«ãã§ãã¯æžã¿ã©ã€ãã©ãªãæ€åºã§ããããšã確èªããå¿ èŠããããŸãã
- éçã³ãŒãåæ-éçºè ãé倱ã«ããããã°ã©ã ã«ãšã©ãŒãç¯ããå Žåããã®ãããªäžæ£ç¢ºãã¯ãã¹ãã«ãã£ãŠãæ€åºãããªãå ŽåãããããœãŒã¹ã³ãŒãã®ç¶¿å¯ãªæ€æ»ã®ã¿ãããããèŠã€ããã®ã«åœ¹ç«ã¡ãŸãã å€éšã¢ãã©ã€ã¶ãŒã«ããããã®ãããªç¶æ³ãèªåçã«èå¥ã§ãããããéçºãå€§å¹ ã«ç°¡çŽ åãããŸã
- ããŸããŸãªçµ±èšæ å ±ã®åéïŒã³ãŒããã¡ã€ã«ã®è¡æ°ãå®å šã«åäžã®æ©èœãååšãããã©ãããæãç·šéããããã¡ã€ã«ã¯æãéèŠãªæ å ±ã§ã¯ãããŸãããããããžã§ã¯ããå°ãéã£ãæ¹æ³ã§èŠãããšãã§ããŸãã
ãã®ã¢ã»ã³ããªã¹ããŒãžã®çµæã¯ããŸããŸãªæ¹æ³ã§è§£éã§ããŸãããã§ãã¯ã®äžéšã¯æ¬è³ªçã«åãªãæ å ±æäŸïŒçµ±èšãªã©ïŒã§ãããå¥ã®ãã§ãã¯ã¯é·æçãªåé¡ã®å¯èœæ§ïŒããšãã°ãã³ãŒãå®è¡ãéçã¢ãã©ã€ã¶ãŒããã®ã³ã¡ã³ãïŒãããã³3çªç®-ã§ã¢ã»ã³ããªãå®äºããããšã§ãäžè¬ïŒããšãã°ãé©åãªå Žæã«ãã¡ã€ã«ãäžè¶³ããŠããïŒã ãŸãããã§ãã¯ã«ã¯ãŸã ããªãã®æéããããããšãããã®ã§ãå Žåã«ãã£ãŠã¯ããªãæéããããããšãå¿ããªãã§ãã ããããã®ãããããããã®å Žåã«åªå é äœãä»ããå¿ èŠããããŸãã
ãã®æ®µéã§äžèšã®ã¿ã¹ã¯ãããããããã«ããããã®ã»ãšãã©ã¯éåžžã«è¡šé¢çãªãã®ã§ãïŒããšãã°ãçµ±èšã®åéããã¡ã€ã«ã®ååšã®ç¢ºèªïŒããã®ãããå®è£ ã®ããã«ãæ¢è£œã®ãã®ãæ¢ããããç¬èªã®ãŠãŒãã£ãªãã£ãã¹ã¯ãªãããäœæããæ¹ãç°¡åã§ãã äžæ¹ãå¥ã®æ¹æ³ã§ã¯ãã³ãŒãèªäœã®å éšããžãã¯ãåæããããšãã§ããŸãããããã¯ã¯ããã«é£ããããããµãŒãããŒãã£ã®ãœãªã¥ãŒã·ã§ã³ã䜿çšããããšããå§ãããŸãã ããšãã°ãéçåæã®å ŽåãPVS-StudioãCppcheckãRATSãGrauditã«æ¥ç¶ããããä»ã®ãœãŒã¹ïŒ http://habrahabr.ru/post/75123/ãhttps://ru.wikipedia.orgïŒã§äœããæ¢ãããããããšãã§ããŸãã / wiki / Static_analysis_code ïŒã
ããŒã3ïŒã¢ã»ã³ããª
ãã ããã¢ã»ã³ããªã®ãœãŒã¹ãã¡ã€ã«ã«é¢ããæ å ±ã®åŠçã¯ãéåžžãåœé¢ã®ç®æšã§ã¯ãããŸããã ãããã£ãŠã次ã®ã¹ãããã¯ãããã°ã©ã ã³ãŒãããããã«èšè¿°ãããŠããäœæ¥ã®ããžãã¯ãå®è£ ããäžé£ã®ã©ã€ãã©ãªã«ã³ã³ãã€ã«ããããšã§ãã å®è¡ã§ããªãå Žåã¯ãèªåã¢ã»ã³ããªã䜿çšãããšããã®äºå®ã¯èµ·ååŸããã«æããã«ãªããã¢ã»ã³ããªãããããŒãžã§ã³ãå¿ èŠã«ãªãæ°æ¥åŸã«ã¯æããã«ãªããŸããã å¹æã¯ãè€æ°ã®ç·šéãçµã¿åãããçµæãšããŠåŸãããåäœäžèœã³ãŒãã®çºè¡çŽåŸã«ã¢ã»ã³ããªãéå§ãããå Žåã«ç¹ã«åªããŠããŸãã
å°ãå ã«é²ãã§ããã1ã€ã®äºå®ã«æ³šç®ããããšæããŸãã ããã¯ãã¢ã»ã³ããªããã»ã¹äžã«å®è£ ããè¿œå ã®ããžãã¯ãå€ãã»ã©ãå®è¡ã«æéãããããšããäºå®ã«ãããŸããããã¯é©ãããšã§ã¯ãããŸããã ãããã£ãŠãå®éã«å€æŽãããã³ãŒãã«å¯ŸããŠã®ã¿å®è¡ãããããã«èª¿æŽããããšã¯è«ççãªã¹ãããã«ãªããŸãã ãããè¡ãæ¹æ³ïŒã»ãšãã©ã®å Žåã補åã®ã³ãŒãã¯åäžã®äžå¯åãªãšã³ãã£ãã£ã§ã¯ãããŸãã-ãããããªããããã¯ããªãã®ãããžã§ã¯ãããŸã ååã«å°ãããããŸãã¯ãããéšå€è ã ãã§ãªãéçºè èªèº«ã«ãšã£ãŠãç解ããã»ã¹ãæªåãããå¯æ¥ã«çµ¡ã¿åã£ãé¢ä¿ã®ããããã§ããããšãæå³ããŸãã
ãããè¡ãã«ã¯ããããžã§ã¯ããåå¥ã®ç¬ç«ããã¢ãžã¥ãŒã«ã«åå²ããå¿ èŠããããŸããããšãã°ããµãŒããŒã¢ããªã±ãŒã·ã§ã³ãã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ãå ±æã©ã€ãã©ãªãå€éšã¢ã»ã³ãã«ã³ã³ããŒãã³ããªã©ã§ãã ãã®ãããªã¢ãžã¥ãŒã«ãå€ããã°å€ãã»ã©ãã·ã¹ãã ã®éçºãšå±éã¯ããæè»ã«ãªããŸãããæ°ãæ£ã£ãŠé床ã«å解ããããšã¯ãããŸãã-éšåãå°ããã»ã©ããããã®ããã€ããäžåºŠã«å€æŽããéã«ããå€ãã®çµç¹ã®åé¡ã«å¯ŸåŠããå¿ èŠããããŸãã
ãããã®åé¡ã¯ã©ã®ãããªãã®ã§ããïŒãããžã§ã¯ããç¬ç«ããã¢ãžã¥ãŒã«ã«åå²ããããšã¯ããã®ãã¡ã®1ã€ã®éåžžã®éçºã§ã¯ãä»ã®ã¢ãžã¥ãŒã«ã«å€æŽãå ããããšã¯å®å šã«ãªãã·ã§ã³ã§ããããšãæå³ããŸãã ããšãã°ãã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã®ã°ã©ãã£ã«ã«ã€ã³ã¿ãŒãã§ã€ã¹ã§ãŠãŒã¶ãŒããæ å ±ãåãåãæ¹æ³ãå€æŽããå¿ èŠãããå ŽåããµãŒããŒã³ãŒããå€æŽããå¿ èŠã¯ãŸã£ãããããŸããã ãããã£ãŠãåççãªæ±ºå®ã¯ãã¯ã©ã€ã¢ã³ãã«é¢é£ãããœãŒã¹ã³ãŒãã®ã¿ã§ã¯ã©ã€ã¢ã³ãã«å¯ŸåŠãããŠãŒã¶ãŒãå¶éãã䜿çšããã¢ãžã¥ãŒã«ã«é¢é£ãããã¹ãŠã®ãã®ããã¢ã»ã³ãã«ãããã©ã€ãã©ãªã®åœ¢ã®æ¢è£œã§ãã¹ãæžã¿ã®ããŒãžã§ã³ã«çœ®ãæããããšã§ãã ãããã£ãŠããã®å Žåãã©ã®ãããªå©ç¹ãåŸãããŸããïŒ
- ç¹å®ã®ã¢ãžã¥ãŒã«ãçµã¿ç«ãŠãŠãããããã«å€æŽãå ããããŠããªãå Žåãé¢é£ããäŸåã³ã³ããŒãã³ãã¯åéãããŸããã
- äŸåã¢ãžã¥ãŒã«ã¯ååã«ãã¹ããããŠãããšèŠãªããããããäŸåã¢ãžã¥ãŒã«ã®åäœã®å éšããžãã¯ã®å質ã確èªããå¿ èŠã¯ãããŸããã
ãã®çµæãã¢ã»ã³ããªã¯ãã¹ãŠã®ã³ã³ããŒãã³ããäžè²«ããŠçµã¿ç«ãŠãŠãã§ãã¯ããå Žåãããã¯ããã«é«éã«ãªããŸããã€ãŸããçŸåšã®ä¿®æ£ã«ãã£ãŠãšã©ãŒãçºçãããã©ãããã§ããéãè¿ éã«èŠã€ããããšãã§ããŸãã ãã ãããã®ãããªå©ç¹ãåŸãã«ã¯ãã·ã¹ãã ã®ã¢ãžã¥ãŒã«æ§é ã§äœæ¥ãæŽçããããã«è¿œå ã®ãªãŒããŒããããæ¯æãå¿ èŠããããŸãã
- æ©èœã®å€æŽã1ã€ã§ã¯ãªãè€æ°ã®ã¢ãžã¥ãŒã«ã«åœ±é¿ããå Žåã¯ãå®è¡ããé åºã決å®ããå¿ èŠããããŸãããã®åŸãã³ã³ãã€ã«ãç¶è¡ããŸãã ãã®ãããªæ±ºå®ãèªåçã«è¡ããããšããã§ãã
- åã ã®ã¢ãžã¥ãŒã«ã®ã¢ã»ã³ããªã¯ããã®æäœæ§ãä¿èšŒããã ãã§ãªãããã®äŸåã¢ãžã¥ãŒã«ã®æäœæ§ãä¿èšŒããå¿ èŠããããŸãã ãã®åé¡ã解決ããããã«ãã¢ãžã¥ãŒã«ãå®è£ ããå¿ èŠããããåããŒãžã§ã³ã«ååšããåºå®ã€ã³ã¿ãŒãã§ãŒã¹ãæäŸã§ããŸãã ããã¯éåžžã«åé¡ãããããšãå€æããå ŽåããããŸããã倧èŠæš¡ãŸãã¯é«åºŠã«åæ£ãããããžã§ã¯ãã§ã¯ããã®ãããªäœæ¥ã¯ãããã§ãªããã°çºçããå¯èœæ§ã®ããäºææ§ãšã©ãŒãä¿®æ£ãããããæãŸããã§ãã
ã·ã¹ãã ããŒãã£ã·ã§ã³ãã¢ãžã¥ãŒã«ã«å®è£ ããã«ã¯ããŸããŸãªæ¹æ³ããããŸãã ã³ãŒããè€æ°ã®ç¬ç«ãããããžã§ã¯ããŸãã¯ãœãªã¥ãŒã·ã§ã³ã«åå²ããã ãã§ååã§ãããGITãªã©ã®ãµãã¢ãžã¥ãŒã«ã䜿çšããããšã奜ã¿ãŸãã ãã ããã©ã®ç·šææ¹æ³ãéžæããªããïŒ1ã€ã®ã·ãŒã±ã³ã·ã£ã«ã¢ã»ã³ããªã§ããããã¢ãžã¥ãŒã«ãæäœããããã«æé©åãããŠããã-ã³ãŒããã³ã³ãã€ã«ããçµæãååãšããŠæ¢ã«æäœã§ããã©ã€ãã©ãªã®ã»ãããåŸãããããã«èå³æ·±ãäºå®ã§ã-èªåã¢ãŒãã§ãã¹ãããŸãã
ããŒã4ïŒã©ã€ãã©ãªã®ãã¹ã
ããã°ã©ã ã®äœæãå¿ èŠã«ãªããšãããã«åé¡ãçºçããŸããçµã¿ç«ãŠãããããŒãžã§ã³ããã¹ãŠã®èŠä»¶ãæºãããŠããããšã確èªããæ¹æ³ã§ãã ãŸãããã®æ°ãå°ãªãå Žå-ãã®å Žåããã¹ãŠã衚瀺ããæ€èšŒã®çµæã«åºã¥ããŠæ±ºå®ãäžãããšãã§ããŸãã ãã ããããã¯éåžžãŸã£ããåœãŠã¯ãŸããŸãããããã°ã©ã ã䜿çšããæ¹æ³ã¯éåžžã«å€ãããããããã§ãã¯ããã ãã§ãªãããã¹ãŠãèšè¿°ããããšããå°é£ã§ãã
ãããã£ãŠãå€ãã®å Žåãç°ãªãæ€èšŒæ¹æ³ãæšæºãšããŠæ¡çšãããŸããã·ã¹ãã ã¯ãåºå®ã·ããªãªãã€ãŸããŠãŒã¶ãŒéã§ã·ã¹ãã ãæäœãããšãã«æãäžè¬çã«éžæãããäºåå®çŸ©ãããã¢ã¯ã·ã§ã³ã®ã·ãŒã±ã³ã¹ã«æåãããšãåæ ŒãããšèŠãªãããŸãã ãªãªãŒã¹ãããããŒãžã§ã³ã§ãŸã ãšã©ãŒãèŠã€ãã£ãå Žåãã»ãšãã©ã®äººã«å¹²æžãããã®ã¯ããéèŠã§ããããŸãã«ãã䜿çšãããªãæ©èœã§ãŸãã«ãã衚瀺ãããªããã®ã¯åªå 床ãäœããªãããããã®æ¹æ³ã¯éåžžã«åççã§ãã
ãã®å Žåã圌ãã¯ã©ã®ããã«ãã¹ããå®æœããŸããïŒå±éã®æºåãã§ããã·ã¹ãã ã¯ãããç®çã®ããã«ãã¹ã¿ãŒã«ââéä¿¡ãããŸã-ããã§ã圌ãã¯ããã§åãäºåå®çŸ©ãããã·ããªãªããã¹ãŠéãæããŠãéçºè ã«ãšã©ãŒãçºçããããäœããåæã«èŠã€ãã£ããã©ãããäŒããããšããŸãã¹ã¯ãªããã«çŽæ¥é¢é£ããŠããŸããã ããã«ããã®ãããªãã¹ãã¯ããã¹ã¿ãŒãè€æ°ããå Žåã§ããæ°æ¥éç¶ãããšããããŸãã
ãã¹ãäžã«èŠã€ãã£ããšã©ãŒãšçºèšã¯ããã¹ãã®æéã«æãçŽæ¥çãªåœ±é¿ãäžããŸãããšã©ãŒãèŠã€ãããªãå Žåãå¿ èŠãªãã®ã¯å°ãªããªããŸããããšã©ãŒãåçŸããããã®æ¡ä»¶ãåé¿æ¹æ³ãé·æã«ããã£ãŠæ±ºå®ããããããšã©ãŒãå€§å¹ ã«å¢ããå¯èœæ§ããããŸãä»ã®ã¹ã¯ãªããããã¹ãã§ããŸãã ãããã£ãŠããã¹ãæã«ã³ã¡ã³ããã§ããã ãå°ãªããããã¹ãã®å質ãæãªãããšãªãããéãçµäºã§ãããªãã·ã§ã³ãéžæããããšããå§ãããŸãã
ãœãŒã¹ã³ãŒãã«å°å ¥ãããå¯èœæ§ã®ããããã€ãã®ãšã©ãŒã¯ãã³ã³ãã€ã«ã®ããã»ã¹ã«ãã£ãŠæããã«ãªããŸãã ãããã圌ã¯ããã°ã©ã ãå®å®ããŠåäœããããã«å¯Ÿãããã¹ãŠã®èŠä»¶ãæºããããšãä¿èšŒããŸããã ååãšããŠãšã©ãŒãå«ããããšãã§ãããšã©ãŒã¯ãèå¥ãšä¿®æ£ã®è€éãã«ãã£ãŠæ¬¡ã®ã«ããŽãªã«åé¡ã§ããŸãã
- äºçŽ°ãªãšã©ãŒ-ãããã«ã¯ãããšãã°ãã¡ãã»ãŒãžã®ã¿ã€ããã¹ãå°ããªä¿®æ£ãå«ãŸããŸãã å€ãã®å Žåãä¿®æ£èªäœãããéçºè ãžã®æ å ±äŒéã«æéãããããŸãã ãã®ãããªãšã©ãŒã®ãã§ãã¯ã®èªååã¯å¯èœã§ãããéåžžã¯å®è£ ãã䟡å€ã¯ãããŸããã
- ã³ãŒãã®åã ã®éšåã®ãšã©ãŒ-éçºè ããã®ã¡ãœããã䜿çšããããã®ãã¹ãŠã®å¯èœãªãªãã·ã§ã³ãæäŸããªãã£ãå Žåã«çºçããå¯èœæ§ãããããã®çµæããããã¯åäœäžèœãŸãã¯äºæããªãçµæãè¿ããŸãã ä»ã®ç¶æ³ãšã¯ç°ãªãããã®ãããªãšã©ãŒã¯èªåçã«æ€åºãããå¯èœæ§ããããŸã-äœæãããšããéçºè ã¯éåžžãã³ãŒãã®äœ¿çšæ¹æ³ãç解ããŠããŸããã€ãŸãããã§ãã¯ã®åœ¢ã§èšè¿°ã§ããŸãã
- ã³ãŒãã®åéšåã®çžäºäœçšã«ããããšã©ãŒ-éåžžãç¹å®ã®åéšåã®éçºã«1人ã®äººéãé¢äžããŠããå Žåãå€ãã®éšåãããå Žåããããã®å ±åäœæ¥ã®ååãç解ããããšãäžè¬çãªç¥èã§ãã ãã®å Žåãã³ãŒãã䜿çšããããã®ãã¹ãŠã®ãªãã·ã§ã³ã決å®ããããšã¯ããå°ãé£ãããªããŸãããé©åãªèª¿æ»ã«ããããã®ãããªç¶æ³ã¯èªåãã§ãã¯ãšããŠåœ¢åŒåããããšãã§ããŸãã
- ããžãã¯ã®ãšã©ãŒ-ãããã¯ãæ瀺ãããèŠä»¶ãšããã°ã©ã ã®äžäžèŽã®ãšã©ãŒã§ããããŸãã ãããã¯ããèªäœãç°ãªãçšèªã§å®åŒåãããŠãããããèªåãã§ãã¯ã®åœ¢åŒã§ããããèšè¿°ããããšã¯ããªãå°é£ã§ãã ãã®ããããã®çš®ã®ãšã©ãŒã¯æåãã¹ãã§ããé©åã«æ€åºãããŸãã
éåžžããã®ã¬ãã«ã®ãã§ãã¯ã¯ãåäœãã¹ããšçµ±åãã¹ãã䜿çšããŠå®è£ ãããŸãã çæ³çã«ã¯ãããã°ã©ã ã®åã¡ãœããã«ã¯ç¹å®ã®ãã§ãã¯ã®ã»ãããããã¯ãã§ãããå€ãã®å Žåãããã¯åé¡ããããŸãïŒãã¹ããããã³ãŒããå®è¡ãããç°å¢ã«äŸåããããããŸãã¯äœæãšä¿å®ã®ããã®è¿œå ã®äººä»¶è²»ã®ããã«
ãã ããåéãããã©ã€ãã©ãªã®èªåãã¹ãã®ããã®ã€ã³ãã©ã¹ãã©ã¯ãã£ã®åœ¢æãšã¡ã³ããã³ã¹ã«ååãªãªãœãŒã¹ãå²ãåœãŠãããŠããå ŽåãããŒãžã§ã³ããã¹ã¿ãŒã«ââå±ãåã«äœã¬ãã«ã®ãšã©ãŒãæ€åºããããšãã§ããŸãã ãããŠããã¯ãæãããªãœãããŠã§ã¢ãšã©ãŒãã¯ã©ãã·ã¥ã«ééããå¯èœæ§ãäœããªããããå質ãæãªãããšãªãã·ã¹ãã ãè¿ éã«ãã§ãã¯ã§ããããšãæå³ããŸãã
ããŒã5ïŒã©ã€ãã©ãªåæ
ã¢ã»ã³ããªãã©ã€ãã©ãªã®ãã¹ã段éãééããåŸãçµæã®ã·ã¹ãã ã«ã€ããŠæ¬¡ã®ããšãèšããŸãã
- ããã°ã©ã ã®ãœãŒã¹ã³ãŒãã«å ããŠãã³ã³ãã€ã«ãããã©ã€ãã©ãªã次ã®ã¹ãããã§å©çšã§ããŸã
- æ©èœã®äžéšããã¹ãããããã€ãã®æ£åŒãªæ¹æ³ããããæ£åžžã«åæ ŒããŸããã
ãããã£ãŠããã®æ®µéã§ã¯ããªãå€ãã®ãšã©ãŒããã§ã«åãæ¶ãããŠããããããã®äºå®ãèæ ®ããŠä»¥äžã®ã¢ã¯ã·ã§ã³ãå®è¡ã§ããŸãã 次ã«ã§ããããšïŒ
- ããšãã°ãããã¥ã¡ã³ãã®ã¢ã»ã³ããªïŒæäœã¯é«éã§ã¯ãªãããªãªãŒã¹ãããããŒãžã§ã³ã«ã®ã¿å¿ èŠã§ãããããæãããªãœãããŠã§ã¢ãšã©ãŒããã£ãå Žåããããçæããã®ã¯ããªãç¡æå³ã§ã
- åéãããã©ã€ãã©ãªã¯ãã¹ãŠåæã«äœ¿çšã§ãããããããŒãžã§ã³ã®äºææ§ã確èªã§ããŸããããšãã°ãå€éšAPIã®å®£èšããããã¹ãŠã®ã¡ãœããã䜿çšå¯èœã§ããããšã確èªããŸãã
ããã§åªå é äœã«ã€ããŠèšåãã䟡å€ããããŸãã ã·ã¹ãã ã«ãšã£ãŠããéèŠãªããšã¯ããã®æäœæ§ãŸãã¯åãå ¥ããããŠããéçºã«ãŒã«ãžã®æºæ ã§ããïŒ æ¬¡ã®ãªãã·ã§ã³ãå¯èœã§ãã
- ãµããŒããç°¡çŽ åããããããŠãŒã¶ãŒãããã°ã©ã ãååŸããããšãéèŠãªå Žåã¯ãã€ã³ã¹ããŒã©ãŒã®ãã«ããšãã§ãã¯ã«éäžããã®ãçã«ããªã£ãŠããŸã
- ããã°ã©ã ãèšèŒãããèŠä»¶ãåžžã«æºãããææžåãããŠããªãAPIæ©èœãæããªãããšãéèŠãªå Žåãã©ã€ãã©ãªã®åæãããåªå ãããŸãã
ãã ããã©ã®å Žåã§ãããã¹ãŠã®æ®µéãçµãŠåããŠã¢ââã»ã³ããªãæ£åžžã«å®äºããããšãç解ããå¿ èŠããããŸãããã®å Žåã®åªå é äœã¯ãæåã«åŒ·èª¿ããå¿ èŠããããã®ã®ã¿ã瀺ããŸãã ããšãã°ãããã¥ã¡ã³ãã®ã¢ã»ã³ããªã¯ãã€ã³ã¹ããŒã©ãŒã®ã¢ã»ã³ããªåŸã«ã¹ããŒãžã«æã¡èŸŒãããšãã§ããŸããããã«ãããããã¥ã¡ã³ããã§ããã ãæ©ãåãåãããšãã§ããŸãããŸããããã¥ã¡ã³ããçæã§ããªãå Žåã¯ãããã¥ã¡ã³ããåéããããšããããŸããã
.NETãããžã§ã¯ãã§ããã¥ã¡ã³ããæ§ç¯ããã«ã¯ãSandCastleããã°ã©ã ã䜿çšãããšéåžžã«äŸ¿å©ã§ãïŒäœ¿çšã«é¢ããèšäºïŒ http ://habrahabr.ru/post/102177/ïŒã ä»ã®ããã°ã©ãã³ã°èšèªã«ã€ããŠããåæ§ã®ãã®ãèŠã€ããå¯èœæ§ããããŸãã
ããŒã6ïŒã€ã³ã¹ããŒã©ãŒãšã¢ããããŒãã®æ§ç¯
ã©ã€ãã©ãªã®ãã¹ã段éãééããåŸãããã«ã¢ã»ã³ããªãè¡ãããã®2ã€ã®äž»ãªæ¹åããããŸãã ãããŠããããã®1ã€ããããã€ãã®æè¡èŠä»¶ãžã®æºæ ã確èªããããšããŸãã¯ããã¥ã¡ã³ãã®ã¢ã»ã³ããªã«ããå Žåããã1ã€ã¯ãé åžçšã®ããŒãžã§ã³ãæºåããããšã«ãããŸãã
ã·ã¹ãã éçºã®å éšçµç¹ã¯ãéåžžããšã³ããŠãŒã¶ãŒã«ãšã£ãŠããŸãé¢å¿ããããŸããããªããªãã圌ãã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ã§ããããæ£ããæŽæ°ããããã宣èšãããæ©èœãæäŸãããã䜿çšæã«è¿œå ã®åé¡ãçºçãããã©ããã ããéèŠã ããã§ãã ã
ãããã£ãŠããã®ç®æšãéæããã«ã¯ãç°ãªãã©ã€ãã©ãªã®ã»ãããã転éã§ãããã®ãååŸããå¿ èŠããããŸãã ãã ããæ£åžžã«åœ¢æããããšããããšã¯ããã¹ãŠãæ£åžžã§ããããšãæå³ãããã®ã§ã¯ãããŸãã-ããäžåºŠãã¹ãã§ããå¿ èŠããããŸãããä»åã¯ãã³ã³ãã¥ãŒã¿ãŒãšããŠã§ã¯ãªãããŠãŒã¶ãŒèªèº«ãå®è¡ãããã®ããã«ã¢ã¯ã·ã§ã³ãå®è¡ããããšããŸãã
ã€ã³ã¹ããŒã©ãŒãæ§ç¯ããæ¹æ³ã¯éåžžã«å€æ°ãããŸããããšãã°ãVisual Studioã§æšæºã®ã€ã³ã¹ããŒã©ãŒãããžã§ã¯ãã䜿çšããããInstallShieldã§äœæãããã§ããŸãã IXBTã®ä»ã®å€ãã®ãªãã·ã§ã³ã«ã€ããŠèªãããšãã§ããŸãïŒ http://www.ixbt.com/soft/installers-1.shtmlãhttp://www.ixbt.com/soft/installers-2.shtmlãhttpïŒ// www .ixbt.com / soft / installers-3.shtml ïŒã
ããŒã7ïŒã€ã³ã¿ãŒãã§ã€ã¹ãã¹ã
ã·ã¹ãã ã®ããã©ãŒãã³ã¹ãããŸããŸãªæ¹æ³ã§ç¢ºèªããããšãã§ããŸããæåã«ãã©ã€ãã©ãªã®ãã¹ãäžã«ãåã ã®ããŒãããã§ãã¯ãããæçµæ±ºå®ããã¹ã¿ãŒã«ââãã£ãŠè¡ãããŸãã ãã ããäœæ¥ãããã«ç°¡çŽ åããæ©äŒããããŸããã·ã¹ãã ã®äž»èŠãªäœæ¥ãã§ãŒã³ãèªåçã«å®è¡ãããŠãŒã¶ãŒãå®éã«äœ¿çšã§ãããã¹ãŠã®ã¢ã¯ã·ã§ã³ãå®è¡ããŠã¿ãŠãã ããã
ãã®ãããªèªåãã¹ãã¯ãã³ã³ãã¥ãŒã¿ãŒç»é¢ã§ã®å®è¡äžã«äžè¬ã®äººã ãè¡ããã¹ãŠã®ããšïŒãŠã£ã³ããŠè¡šç€ºããããŒã€ãã³ããŸãã¯ããŠã¹ã¯ãªãã¯ã€ãã³ãã®åŠçãå ¥åãã£ãŒã«ããžã®å ¥åãªã©ïŒã®ãããã€ã³ã¿ãŒãã§ã€ã¹ãã¹ããšåŒã°ããŸãã â , , , :
- : , â , , ,
- , : , , , , , , .
: , , , , , . : , , .
, , : , TestComplete, Selenium, HP QuickTest, IBM Rational Robot UI Automation.
8:
? : . , :
- â ,
- â ,
- â , ,
- â ,
, : , . , - â , , , , .
9:
, . , , . , , â .
, , , (, ), . , , ( , ), . , , , , .
, , : . , . , , , , . , , . â (, ), , .
10:
, : , . â , , , , .
. . , , . «1 ». , , , , .