åãã¾ãã¦ããªã³ã¼ã®æ²ç°ã§ãããã®åº¦ç§ããã® blog ãæ¸ããã¨ã«ãªãã¾ããã以å¾ãããããé¡ããããã¾ãã ã¿ãªãããã¹ãã¯å¥½ãã§ããï¼ç§ãå«ãã¦ç§ã®ååã¯çãã¹ãã大好ããªã®ã§ããã°ãã°ãã¹ãã®è°è«ã§ç½ç±ãããã¦ãã¾ãã¾ããä»æ¥ã¯ãã®ãã¹ãã®ä¸ãã Mockï¼ã¢ãã¯ï¼ 㨠Stubï¼ã¹ã¿ãï¼ ã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æãã¾ãã Test Double ã¾ããã¹ãã«ããã Mock 㨠Stub ã«ã¤ãã¦ã§ãããããã㯠Test Double ã¨ããæ¦å¿µã®ä¸é¨ã§ããDouble ã¨ã¯ä»£å½¹ã¨ããæå³ã§ããã¹ã対象ã¨ãªãã·ã¹ãã ãä¾åããå¤é¨ã®ã³ã³ãã¼ãã³ãã®ä»£ããã«ããããããæ¯èã£ã¦ãããã³ã³ãã¼ãã³ãã代役ã¨ãã¦å©ç¨ãããã¨ãããã¨ã§ãã ä¾ãã° Web ã¢ããªã® Controller ã®åä½ãã¹ãããããå ´åã«ãModel ã®å®è£
ãå®äºããã¾ã§ãã¹ããã§ããªãã£ã¦ããã®ã§ã¯å¤§å¤ã§ã
{{#tags}}- {{label}}
{{/tags}}