2013å¹´08æ22æ¥13:26 Ruby factory_girl ã§æä½éç¥ã£ã¦ãããã4ã¤ã®ä½¿ãæ¹ ã¿ãªããããã¹ããæ¸ãã¨ãã«ã¯ Fixture Replacement ã¨ãã¦ä½ã使ã£ã¦ã¾ããï¼ä¸çªã¡ã¸ã£ã¼ãªã¨ããã 㨠factory_girl ã§ãããããmachinist ãæåã§ãããã·ã³ã¿ãã¯ã¹ã®éãã®ãããªã®ã§åºæ¬çã«ã¯ã©ã¡ãã§ãè¯ãããã§ãã åèï¼stackoverflowï¼Machinist vs FactoryGirl - pros and cons In other words, both are extremely similar, just with a different default syntax. ä»åã¯ï¼åã factory_girl4.2.0 ã使ã£ã¦ãã®ã§ï¼factory_girl4.2.0 ã«ã¤ãã¦ã®è©±ã§ãã ã¤ã³ã¹ãã¼ã« ã¾ãã¤ã³ã¹ãã¼ã«ã
{{#tags}}- {{label}}
{{/tags}}