PHPã®ããã¸ã§ã¯ãã§ã¯ãã¹ãã®ã«ãã¬ãã¸ã¯ã©ãããããç®æ¨ã«ãã¹ããªã®ãï¼
ï¼æçµæ´æ°ï¼2017-09-11ï¼
PHPUnitãªã©ã使ãã¢ããªã®ãã¹ããæ¸ãã¦ããããã°ã©ãã¼ã®ã¿ãªããã¯ã³ã¼ãã«ãã¬ãã¸ãè¨æ¸¬ãã¦ãããã¨ã¨æãã¾ãã
ããã§ãã«ãã¬ãã¸ã®ç®æ¨ã¨ãã¦ã¯ã©ãããããããã§ããããï¼
以åãåå¤å±ã®PHPã®åå¼·ä¼ã§ã«ãã¬ãã¸ã®ç®æ¨ãå®ãã¦ãããï¼ã¨ãã質åãåå è ã«ããæãç®æ¨ãå®ãã¦ãã人ã¯ãã¾ããã§ããã
æè¿ã¯PHPãCodeIgniterã¦ã¼ã¶ã§ããã¹ããæ¸ãã¦ããªã人ã¯æ¸ã£ã¦ãã¦ãã¾ãã®ã§ãã«ãã¬ãã¸ã«ã¤ãã¦ãèå³ãæã£ã¦ãã人ãå¢ãã¦ããã¨æãã¾ãã
ç§ã®ã¢ããªã®ã«ãã¬ãã¸ã®ç®æ¨
ç§ã®çµè«ã¨ãã¦ã¯ãä¸è¬è«ã¨ãã¦ãPHPã®Webã¢ããªã®ã«ãã¬ãã¸ï¼PHPUnitã§ã®ã©ã¤ã³ã«ãã¬ãã¸ï¼ã®ç®æ¨ã¯80%ã§ãã
ãããããããã¨ãä½ãAPIãå¤ãã¦ãã¾ã£ãããã¦ä¸é¨ãåä½ããªããªã£ã¦ããã ããããã¹ãã§æ¤åºããã¾ãããã¡ããæ¼ãããã¨ãããã¾ããã
CodeIgniterã®ãã©ã¼ã©ã ã§Lonnieã80%ããã¸ãã¯ãã³ãã¼ã ã¨è¨ã£ã¦ã¾ããã100%ã«è¿ã¥ãã«ã¤ãã¦ãã¹ãä½æã®ã³ã¹ããããä¸ãã£ã¦ãããããå®å¿æã¨ã³ã¹ãã®ãã©ã³ã¹ãã80%ããããããã¨ããçµé¨çãªè©±ã§ãã
ã¾ããå¨ããè¦ãã¨ã100%ãåºæºã¨ãã100%ã«ãã ãããã¨ããè¦èããã¾ãããå®éåé¡ãããªã100%ã¯ç¡çã²ã¼ã§ãã身ã®ä¸ã«ãã£ãç®æ¨ã§ãªãã¦ã¯ãæå³ãããã¾ããã
ãã¹ããã¡ã¼ã¹ãã§æ®éã«æ¸ãã¦ããã°ã80%ãããã¯æ®éã«éæã§ãã¾ãã
å°ãæ¤ç´¢ããã¨ã以ä¸ã®ãããªè¨è¿°ãããã¾ããã
- ãçæ³è«ã§ã¯100%ã®ã«ãã¬ãã¸ãåå¾ããå¿ è¦ãããã¾ãããå®éã«ã¯80%ã§ååã§ãããããªããªãã100%ã®ã«ãã¬ãã¸ã§ãã£ãã¨ãã¦ãè´å½çãªã¨ã©ã¼ãã¯ã©ãã·ã¥ãé²ããã¨ãã§ããªãããã§ããhttp://piccagliani.github.io/Codeception.docs.ja_JP/11-Codecoverage.html
- ãéçºãã¼ã ã¯ãé常ãç´ 80% ã®ã³ã¼ã ã«ãã¬ãã¸ãç®æ¨ã«ãã¾ããhttps://msdn.microsoft.com/ja-jp/library/dd537628.aspx
ã«ãã¬ãã¸ããã大åãªãã¨
ãããããããéè¦ãªã®ã¯ã«ãã¬ãã¸ã¬ãã¼ãã§ãã¹ãããã¦ããªãã¨ããã«æ³¨ç®ãããã¨ã§ãããã¹ããã¦ããªãã³ã¼ãã¯ãªã¹ã¯ãé«ããªãã¾ãã®ã§ãæ¬å½ã«ãã¹ãããªãã¦ãããï¼ã絶ãã確èªããå¿ è¦ãããã¾ãã
ã©ã¤ãã©ãªããã¬ã¼ã ã¯ã¼ã¯ãªã©ã®å ´å
ã¡ãªã¿ã«ãã©ã¤ãã©ãªããã¬ã¼ã ã¯ã¼ã¯ã¨ããå ±éåºç¤ã®å ´åã¯ãé常ã®Webã¢ããªãããé«ãã«ãã¬ãã¸ãè¦æ±ãããã¨æã£ã¦ãã¾ãã90%ã¨ã100%è¿ãã¨ãã§ããã
CodeIgniterã§ã®ãã¹ãã®æ¸ãæ¹
CodeIgniterã§ãã¹ãã®æ¸ãæ¹ãããããªãã¨ãã人ã«ã¯ã以ä¸ã®æ¸ç±ããè¦ããã¾ãï¼å®£ä¼ï¼ã
é¢é£
Date: 2017/08/02