æ¬æ¥å¤§æ±æ¸*1ã§è¡ããã大æ±æ¸Rubyä¼è°01ã§ãé«éãªãã¹ããµã¤ã¯ã«ãåãã«ã¯ã¨ããå 容ã§çºè¡¨ãã¦ãã¾ããã 大æ±æ¸Rubyä¼è°01 é«éãªãã¹ããµã¤ã¯ã«ãåãã«ã¯ View more presentations from hotchpotch ãã¹ããéãããã«ã¯äºãã¿ã¼ã³ãããä¸ã¤ã¯åä½å®è¡æã®é度ã»ãã£ã¼ãããã¯ã®é«éåãããä¸ã¤ã¯ãã¹ã¦ã®ãã¹ãå®è¡æã®é«éåãããã¨æã£ã¦ãã¦ããããã«ã¤ãã¦ã®è©±ã§ãããã ã£ã¨ã¾ã¨ããã¨ãååã®åä½å®è¡æã®é度ã»ãã£ã¼ãããã¯é«éåã«ã¯ spork / prefetch-rspec / autotest / watchr ã使ããã¨ãã話ã¨ãå¾å㯠REE / parallel_tests ã«ããé«éåã»ä¸¦åå®è¡ãremote spec ã«ãããªã¢ã¼ããã·ã³ã§ã®åæ£ãã¹ãã«ã¤ãã¦ã®è©±ã§ãã ç¹ã«ãªã¬ãªã¬ããã¸ã§ã¯ãã® prefetch-rspec
Editor's Notes\n\n\n\n\n\nテスト時間は早ければ早いにこしたことはない。全部のテスト通すの&a
(注: 以ä¸ã®å 容ã¯ãRSpec ã¦ã¼ã¶ã®éã§åºã¾ã£ã¦ãããã¨ã§ããªãããã¡ãã RSpec éçºãã¼ã ã®å ¬å¼ãªè¦è§£ã§ããªããããã¾ã§ã¯ã·ã®å人çãªè¦è§£ã§ãã) RSpec ã®ãããã¨ããã¯ãã³ã¼ãã«å¯¾ãã¦ã§ã¯ãªãä»æ§ã«å¯¾ãã¦ãã¹ããæ¸ããã¨ãæ確ã«ãããã¨ã ã¨æããä½ãä»ããã¨è¨ããããã ãã©ãä»ããã«ãªã£ã¦ããããæ°ã¥ãããã¯ããªé ã§ãã¾ããã£ãã ã¯ã·ãæåã¯ããassert_equal(expected, actual)ãã®ãããã«ãactual.should == expectedãã¨æ¸ããã£ãããã«ç®ã奪ããã¦ããã¹ãã³ã¼ããèªç¶è¨èªã«è¿ãå½¢ã§è¨è¿°ããã®ã RSpec ã®ãããã¨ããã ã¨åéããã¦ãããããããTDD (Test Driven Development)ããããBDD (Behaviour Driven Development)ãã¸ã¨ããæ°ããæ½®æµã ã¨åéããã¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}