Code Archive Skip to content Google About Google Privacy Terms
2011å¹´3æ1æ¥ã3æ31æ¥ã®éãPFIã¤ã³ã¿ã¼ã³ã«è¡ã£ã¦ãããæ¬ã¨ã³ããªã¯åç·¨ãå¾ç·¨ã«ããã¦æ¸ãã¦ã¿ããã¨æããåç·¨ã®ä»åã¯ã¤ã³ã¿ã¼ã³ã®å 容ãã¤ã³ã¿ã¼ã³ã§éçºããå 容ãè¨è¨ãè¨è¨ã«è³ãããã»ã¹ããç§ã®ææã«ã¤ãã¦èª¬æããå¾ç·¨ã§ã¯ã¤ã³ã¿ã¼ã³ã®ãã£ãããã¤ã³ã¿ã¼ã³ãå®è¡ãã段éã§ã®ç§ã®å¿å¢ãå¿æ§ããè¡åææ³çãªé¨åãç°å¢é©å¿ããéç½äºã ã«ã¤ãã¦æ¸ããã¨æãã ã¤ã³ã¿ã¼ã³ã®å 容ããã®å¯¾è±¡ã«ã¤ãã¦èª¬æããã©ãããé¨åã«æ©ã¿ãªããéçºãã¦ãã£ããç´¹ä»ããï¼é·ããã©ï¼ï¼ãæå¾ã«æçµçãªææã§ãããã¹ããã¼ã«ã«ã¤ãã¦ç´¹ä»ãã社å ã§ã®ã¤ã³ã¿ã¼ã³æçµçºè¡¨ã¹ã©ã¤ãã§æ¬ã¨ã³ããªã§ããåç·¨ãç· ããã ã¤ã³ã¿ã¼ã³å 容 ããã·ã§ã³ï¼ãã¼ãï¼ï¼PFIã®è£½åã§ããçµ±ååæ¤ç´¢ã¨ã³ã¸ã³Sedueã®çµåãã¹ãï¼æ©è½ãã¹ãï¼ãèªååããã㨠ãã¼ãã®æ±ºå®ã«ã¤ãã¦ã¯ãPFIã§éè¦ã®ãããããªQAï¼å質ä¿è¨¼ï¼ã¨ãã¹ãé¢é£ã¨ããå
åç° å人(@t_wada) ä½ãRSpec ã®å ¥éã¨ãã®ä¸æ©å ã¸ãã¯ã¯ãªã¨ã¤ãã£ãã»ã³ã¢ã³ãº 表示 - ç¶æ¿ 4.0 å½é ã©ã¤ã»ã³ã¹ã§æä¾ããã¦ãã¾ãã æ±äº¬ Ruby ä¼è° 03 ã® RSpec ã¯ã¼ã¯ã·ã§ããã®è³æã§ãããã®ã¯ã¼ã¯ã·ã§ããã§ã¯åå è ã®æ¹ã«ãåçµã(ã³ã¼ããæ¸ãåããã¨)ããã¦è²°ããTDD/BDD 㨠RSpec ãåæã«å¦ã¹ãããã«é½åº¦èª¬æãå ¥ããããã¡ã§è¡ãã¾ããã 第2ã¤ãã¬ã¼ã·ã§ã³ãæ¸ãã¾ãããç¶ãã«èå³ããæ¹ã¯ã覧ä¸ãã (æ´æ°) 第3ã¤ãã¬ã¼ã·ã§ã³ãæ¸ãã¾ãããç¶ãã«èå³ããæ¹ã¯ã覧ä¸ãã 1st iteration favotter ã® ã¿ãã㪠NG ã¯ã¼ãã®ãã£ã«ã¿ãªã³ã°æ©è½ã RSpec ã§ä½ãã¾ããããã¾ã㯠NG ã¯ã¼ãã®æ¤åºæ©è½ãä½æãã¾ãã ãã®ã¤ãã¬ã¼ã·ã§ã³ã§ã¯æåãã¿ãªå½¢ã®ãã¹ãã³ã¼ãã¨å®è£ ãæ¸ããã ãã ãã¨ãã®ã³ã¼ããæ´ç·´ããã¦ããã¾
ããã³ã¾ãã¯ãRuby ã«é¢ããæè¡è¨äºã¯ãã¡ããã®ãã¨ãRubyist ã¸ã®ã¤ã³ã¿ãã¥ã¼ãã¨ãã»ã¤ããã®ä»ããå±ãããã¦ã§ãéèªã§ãã Rubyist Magazine ã«ã¤ã㦠ãRubyist Magazineããç¥ãã¦ããã³ã¾ãã¯ãæ¥æ¬ Ruby ã®ä¼ã®æå¿ã«ãã Rubyist ã® Rubyist ã«ãããRubyist ã¨ããã§ãªã人ã®ããã®ã¦ã§ãéèªã§ãã ææ°å· Rubyist Magazine 0058 å· ããã¯ãã³ãã¼ Rubyist Magazine 0058 å· RubyKaigi 2018 ç´åç¹éå· Rubyist Magazine 0057 å· RubyKaigi 2017 ç´åç¹éå· Rubyist Magazine 0056 å· Rubyist Magazine 0055 å· Rubyist Magazine 0054 å· æ±äº¬ Ruby ä¼è° 11 ç´
ã³ã³ãã³ãã¸ã¹ããã ç¡æã§ä½¿ããï¼HubSpotã®é¡§å®¢ãªã¹ãã®æ´»ç¨æ³ç¡æã®ã¢ã³ã±ã¼ãä½æãã¼ã« æ¯è¼ï¼ã¾ã¨ãç¡æãExcelã ãã³ãã¬ã¼ã æ¯è¼ï¼ã¾ã¨ãç¡æã§ä½¿ãããã¼ãã¢ããªæ¯è¼ (Evernote / OneNote / Google Keep)ããããã®ç¡æWebä¼è°ã·ã¹ãã 5é¸WebP Converter å¾¹åºè§£èª¬ï¼åå¿è ã§ãç´ãã«ä½¿ãããµã¤ãã§ä½¿ããç¡æç´ æ æ¯è¼ï¼ã¾ã¨ãããªã¼ã¢ã¤ã³ã³Webãµã¼ãã¹ã®æ¯è¼ï¼ã¾ã¨ãç¡æãªã³ã©ã¤ã³ã¹ãã£ã³ æ¯è¼ï¼ã¾ã¨ãç¡æã§ãã¸ãã¹ãã£ãããWebä¼è°ãã¹ã±ã¸ã¥ã¼ã«ç®¡çãã§ããã°ã«ã¼ãã¦ã§ã¢ããããç¡æã¬ã³ã¿ã«ãµã¼ãã¼ã®æ¯è¼ç¡æã¹ãã¬ã¼ã¸ãµã¼ãã¹ æ¯è¼ï¼ã¾ã¨ãç¡æãã¼ã ãã¼ã¸ WordPressã»Wixã»Jimdo æ¯è¼ããããã®ç¡æWordPressãã¼ããã³ãã¬ã¼ãç¡æWebã»ãã¥ãªãã£ãã§ãã¯ãµã¼ãã¹ç¡æã§ä½¿ããããããã®ã¿ã¹ã¯ç®¡çãã¼ã«
http://martinfowler.com/bliki/TestDouble.html Gerard Meszarosããæ§ã ãªXunitãã¬ã¼ã ã¯ã¼ã¯ã使ç¨ãããã¿ã¼ã³ãéããæ¸ç±ãå·çä¸ã§ããã å½¼ã¯ãããåä»ãªãã¨ã«åºãããã¦ããã ã·ã¹ãã ã®ä¸é¨åããã¹ãããããã«ã¹ã¿ãåãããã¨ããããã ãã®ååã¨ããã®ããã¹ã¿ããã¢ãã¯ããã§ã¤ã¯ãããã¼ãªã©ãè²ã ã¨ããã®ã ã ãã®ããå½¼ã¯ãèªèº«ã®ç¨èªéãä½æããã ãã®ç¨èªéã¯åºãæ®åãã¹ããã®ã ããã å½¼ãä¸è¬çãªç¨èªã¨ãã¦ä½¿ã£ã¦ããã®ã¯ããTest Doubleï¼ãã¹ã代役ï¼ãã¨ããè¨èã ï¼ã¹ã¿ã³ãã®ä»£å½¹(double)ãæ³åãã¦ã»ããï¼ã Test Doubleã¯ããã¹ãç¨ã«ãªãã¸ã§ã¯ããå ¥ãæ¿ããã¨ãã«ä¸è¬çã«ç¨ããããè¨èã§ããã Gerardãä½æãããªã¹ãã«ã¯ãæ§ã ãªDoubleãè¼ã£ã¦ããã ããã¼ãªãã¸ã§ã¯ãã¯ãåã渡
A message expectation (a.k.a. mock method) is an expectation that an object should receive a specific message during the execution of an example. Expecting Messages
æ²ã½ããã¦ã§ã¢æ ªå¼ä¼ç¤¾ã¯ãæ²éä¿¡ã·ã¹ãã æ ªå¼ä¼ç¤¾ããã³æ ªå¼ä¼ç¤¾æ²ã¤ã³ãã©ããã¯ã¨å¹³æ22å¹´10æ1æ¥ããã£ã¦åä½µãããã¾ãããæ°ä¼ç¤¾åã¯ãæ ªå¼ä¼ç¤¾OKIã½ããã¦ã§ã¢ã¨ãªãã¾ãã3社ãè¡ã£ã¦ããã¾ãäºæ¥ã¯æ°ä¼ç¤¾ã«ã¦å¾æ¥éãç¶ç¶ãããã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}