ãã¹ãã³ã¼ã(spec)ã®ä¿®æ£ãªãã§ããã¹ããnåéããã
(ã¾ã£ãã試ãã¦ãªããã©)QSpecãç´¹ä»ãã¾ãã
ãã¹ããé ãã®ã§ parallel_tests ã§é«éåãããã¨ããããå¹çããããã¦è ¹ããã£ã¦ããã®ã§ããå¹çç㪠Qspec ãã¤ãã£ãã
ããã¤ãã® rails ããã¸ã§ã¯ãã§ãã³ããã¼ã¯ããã¨ããã2å以ä¸ã®é«éåå¹æãå¾ãããã
parallel_tests (https://github.com/grosser/parallel_tests) ã¯è¤æ°ã®ããã»ã¹ã§åå²ã㦠RSpec ãå®è¡ããããã®ã½ããã¦ã§ã¢ãRSpec ã®å®è¡é度ã 3 åã«ãªã£ãã¨ããè¨äºããã: ãRuby / Rails ã®ãã¹ããç´3åéã«ãªã£ã¦è¶
å¿«é©ã«ï¼ï¼ã(http://subtech.g.hatena.ne.jp/secondlife/20100819/1282226971)
Qspec ã parallel_tests ããã 2 åéãã£ã¦ãã¨ã¯ãã©ã¡ããå°å
¥ãã¦ããªãæããã 6 åã«ãªãã£ã¦ãã¨!?
production ã¸ã®å°å
¥ã念é ã«ããã¦ãã²ã¨éãã½ã¼ã¹ã³ã¼ããèªãã§ã¿ããsporkã®ç°¡åãªã©ããã¼ãã¨æã£ããã©ããããªãã¨ã¯ãªãã£ãããã£ããã¨ä½ãããã§ãã£ã¦è¯ãããããã¨ãparallel_tests ã¯ããããè¨å®ãå¿
è¦ããã ã£ãã®ã§èºèºãããã ãã©ããã£ã¡ã®è¨å®ã¯ç°¡åããã ããã¡ãããRedis ã®ç¥èãå¿
è¦ã ãããã©ãã¢ããªã±ã¼ã·ã§ã³å´ã¸ã®å¤æ´ãå°ãªãã®ã¯ããããã
ããå°ãã³ã¼ããèªãã§ã¿ã¦å®å¿ã§ããããproductionã³ã¼ãã¸ã®å°å
¥ãæ¤è¨ãããã
ããããRSpecé ãããããããRSpecãé ãã¨ããããã¯ã巨大ãªspecã®ã»ããåé¡ã...
-- åèURL
- parallel_tests ã®2å以ä¸é«éã«ãã Qspec: http://tomykaira.hatenablog.com/entry/2013/06/02/120348
- tomykaira/qspec · GitHub: https://github.com/tomykaira/qspec
- grosser/parallel_tests · GitHub: https://github.com/grosser/parallel_tests
- Ruby / Rails ã®ãã¹ããç´3åéã«ãªã£ã¦è¶ å¿«é©ã«ï¼ï¼: http://subtech.g.hatena.ne.jp/secondlife/20100819/1282226971
--- PRåºå
è¨äºãèªãã§ãã ããããããã¨ããããã¾ãããããããããã°ããã®è¨äºã®èè
ãæä¾ãã¦ããç¡æã®ãµã¼ãã¹ãããã£ã¦ãï¼ããã試ããã ããã
- ããã£ã¦ãï¼: http://cocktailq.herokuapp.com/