éè·ãã¾ããï¼æ§è·ã§ãã£ããã¨ã¾ã¨ããã®ï¼ï¼
æ¬æ¥ï¼4/30ï¼ããã£ã¦æ°åãã12å¹´åããä¼ç¤¾ãéè·ãã¾ãã
ããã§ãèªåãæ§è·ã§è¡ã£ãä»äºã®ãã¡ã§å
¬éãã¦ãåé¡ãªããããªé¨åãä¸å¿ã«ããããæãè¿ãã¦ã¿ã¾ãã
Javaã«ããæ°äººæè²åé¡ä½æ
èªåã®å
¥ç¤¾æ(2003å¹´)ã¯VB6ã«ããæ°äººç ä¿®ãè¡ã£ã¦ããã®ã§ãããå
¥ç¤¾4å¹´ç®ãããã§VB6ã¯æ代é
ãã£ã¦ãã¨ã§ãã®å½æJavaã®æ¡ä»¶ããã£ã¦ããèªåãæ¥åã®çæéã§æ°äººæè²ç¨ã®åé¡ãVB6ã®åé¡ãå
ã«ä½ãã¾ããã
ãã 使ãã¨ããã®ã¨ã人ã«æããã¨ãããã¨ã®éãã«æ¸æãã¤ã¤ãé常ã«Javaã®ææ³ãæè²ã¨ãããã®ã«ã¤ãã¦èããããããçµé¨ã§ããã
ãã®å¾ãä¸æ¨å¹´ã¾ã§æç¶çã«æ°äººæè²ã®Javaç ä¿®æ
å½ããã¦ãã¾ããããååã®æè¦ãæ°äººã®åå¿ãè¦ãªããæ¯å¹´ãã©ãã·ã¥ã¢ããããæ©ä¼ãå¾ã¦(Javaã«ã¤ãã¦ãããã°ã©ã å¦ç¿ã«ã¤ãã¦ã®)èªåã®ç解ãæ·±ããããã¨æãã¾ãã
xUnitæ®å
JUnitã®å°å
¥ã«ã¤ãã¦ã¯å
輩ãå
éãã¤ãã¦ããã¦ãã¾ããã
ãã ãããããé²ã¾ãç¹å®ã®æ¡ä»¶ï¼ã¨ããããä¸ã¤ã®ããã¸ã§ã¯ãï¼ã®ã¿JUnitã®ãã¹ãã³ã¼ããããç¶æ
ã
ããã§ã¯ããããªã¨æããJavaã®ããã¸ã§ã¯ãã«ã¯JUnitãå
¥ãã¦ã¾ããã.Netã®ããã¸ã§ã¯ãã§ã¯NUnitãå
¥ãã¾ããã
xUnitä¸è¦è«ãæåã¯ãã£ã¦ï¼ä¸å¸ã顧客ã«ï¼ããå対ãããã®ã ãã©ã
ãã¯ãã®è¦ç¹ã§èããã°ããã¸ã§ã¯ãã®å©çã«ãªããã¨ã¯è«ççã«ééããªãã£ãã®ã§èª¬å¾ãããç¡è¦ããããã¦å¨ããå·»ãè¾¼ã¿ãã¹ããèªååãã¾ããã¾ããã
CIå°å ¥
xUnitãå°å
¥ãã¦éçºè
ããã¹ããèªåã§æµããã¨ãã§ããããã«ãªã£ãã®ã§ãããxUnitãæµããã©ããã¯ããããã®æ
å½è
ä»»ãã¿ãããªç¹ã«å«æ°ãããããã¤è¦æ¨¡ã®å¤§ããªããã¸ã§ã¯ãã§ãã¹ããå®æçã«æµããããªããä¸åº¦ãã®é ä¸ã«åºå§ãã¦ããHudson*1ãå°å
¥ãã¾ããã
ãã®è¾ºãããä½ãæ°ãããã¨ãå§ããã«ãã¦ã顧客ã¯ç解ãã¦ãããªãããä¸å¸ããªãããããæ¶æ¥µçï¼ã¨ãããå¤å¿ã§ããã¸ã§ã¯ãã®ç´æã¨ãããããã®æå¤ã«ã¯å¤ããªã½ã¼ã¹å²ãããããªãï¼ã
ãããªç¶æ
ã§ã¯ãã¨ããããä¸äººã§åæã«åãã¦è¯ããã ã£ããå¨ããå·»ãè¾¼ããã¨ããããæ¹ãè¯ãã®ã ãªã¨å¦ç¿ãã ããé ã ã¨æãã¾ãã
ã«ãã¬ãã¸
xUnitã§CIãã¦ããã°ãè¦ãããªãã®ãã«ãã¬ãã¸ãIDEã®pluginã¨ãã§ãã¾ã«è¦ã¦ããã®ã§ããããããéçºè
å
¨å¡ãã£ã¦ãããããããªãã
ã¨ããããã§ããã«ãã¹ã¯ãªããã«æ··ãã¦ãã¤ãªã¼ãã¹ãã®ã«ãã¬ãã¸ãã¨ãããã«ãã¾ããã
ERå³ä½æèªåå
æ°è¦éçºã®æ¡ä»¶ã§ã顧客è¦ä»¶ãè©°ã¾ã£ã¦ãªãæ¡ä»¶ããã£ãéã«åºæ¬è¨è¨ã§ERå³ã¾ã§è¶
é å¼µã£ã¦æ¸ããã®ã«ãå®è£
å
¥ã£ã¦ããè¦ä»¶ãå¤ãã£ã¦ERå³(Excel)ããªãã©ãã¦ç·¨éããã®ã«å¿åºå«æ°ãããã¦èªååã§ããããªãã¼ã«ãæ¢ãã¾ããã
è²ã
試è¡é¯èª¤ããçµæããããããSchemaSpyã§ERå³ãhtml1ã§çæãã¦Jenkinsã®ãªã³ã¯ã«åºãã®ãä¸çªæ¥½ã¨ããå½¢ã«ã¾ã§é²åããã¾ãtã
ã«ãã«ãã«ã¬ã³ãã¼å°å ¥
ããè¨ã£ã¦ã¯ãªãã§ãããèªåãå
¥ç¤¾ãã¦5å¹´ã»ã©ã¯ã²ãããçä¸æ¡ä»¶ã渡ãæ©ãã¦ç«æ¶ã*2ããã¦ã¾ããã
ã¾ããç°¡åã«è¨ãã°ãã¹ããããã¹ãã渡ãæ©ããã¨ã«ãªãã®ã§ã¡ã³ã¿ã«ãç²å¼ãã¾ãã
ãã®ãç²å¼åº¦ãè¦ããåãããã¦ã«ãã«ãã«ã¬ã³ãã¼ãçµç¹å
ã«æ欲çã«ä¼éãã¾ããã
å½åãç´ã§åèªã«ã¬ã³ãã¼ãã ãã¦ã·ã¼ã«ã§ã«ãã«ãã表ç¾ããã¨ããã®ãããã®æã®æ¡ç¨æ
å½ã ã£ãä¸å¸çã«è¦æ ããè¯ãã£ãã®ãæ¡ç¨é¢é£ã§ï¼ãã¡ã®ä¼ç¤¾ã¯ããããåãçµã¿ããã¦ãããã¨ï¼æ¯è¼çåºå ±ãããå¾ã
ã«å¨ãã®äººãã¡ã使ãããã«ãªãã¾ããã
*3
ããã¸ã§ã¯ãæ¯ãè¿ã
å
¥ç¤¾ä»¥éèªç¤¾æ¡ä»¶ã§ã¯ãã¾ããããªãããã¸ã§ã¯ãã«åå ãããã¨ãå¤ãã£ãã®ã§ããã®ç¶æ³ããªãã¨ãæ¹åããããªã¨æã£ã¦å§ããã®ã"ããã¸ã§ã¯ãæ¯ãè¿ã"ã§ãã*4
ããã¾ã§ã¯ãèªç¤¾ã®è«è² ã®åãã¼ã ãè¦ãã¨ããããã¸ã§ã¯ããçµãã£ããããã§è§£æ£ã»çµäºã
ãã®æè¨çããã¾ãå
±æããã¦ããªãã¦ãåã失æãç¹°ãè¿ãã¿ãããªé¨åãããã¾ããã
ã¾ããããã¸ã§ã¯ãã®æè¨ãçããã«ãã¦ãçµé¨ãç©ãã 誰ãã人éåã§ä¼å°ãããããªå½¢ã
è¥æã®ãã¡ããå³ãå·¦ãåãããããã¼ã ãªã¼ãã¼ããããã¨ãå¤ãã£ãèªåã¯å¸¸ã«ææ¢ãã§ãã®éå¹çãããªãã¨ããããã¨èãã¾ããã
ãããªæãä½ãã®æ¬ã§è¦ã*5ããã¸ã§ã¯ãã®æ¯ãè¿ãã¯å¾ã
ã«èªåã®ãã¼ã ããèªé¨ç½²ã¸åºããå¤å°ãªãã¨ãçµé¨å¤ã®è¦ããåã«è²¢ç®ã§ããã®ã§ã¯ãªããã¨æãã¾ãã
以ä¸å¾ã§æ¸ã
ãã±ããé§åéçº
ã¬ãã¥ã¼æå
ãµã¼ãã¼ç£è¦å°å ¥
ã©ã³ãã¿ã¤ã åå¼·ä¼
ã¤ãã¬ã¼ãã£ããªéçº
ãã¤ãªã¼ã¹ã¿ã³ãã¢ãããã¼ãã£ã³ã°
è°äºé²ã®Excelå»æ¢MarkDownå
*1:ä»ã®Jenkins
*2:ãã£ã¨çãä¸ãããã¦ãã¾ã£ãæ°ããããã©ãæå¾ã¯æ¶ããã
*3:ç´ä½æ²æãçµã¦èªåãéè·ããæç¹ã§ã¯Webã¢ããªã使ãããã«ãªã£ã¦ãã¾ããã
*4:ããã¦æ¯ãè¿ãçµæã社å ã¸å ¬éããã
*5:å¤åã¢ã¸ã£ã¤ã«ãã©ã¯ãã£ã¹ã ã£ãæ°ãããã