Tuesday, 15 September 2015

ruby on rails - Best b/w Factory Girl, machinist and fabrication -



ruby on rails - Best b/w Factory Girl, machinist and fabrication -

to test big application, best b/w mill girl, machinist or fabrication. mill girl create real objects hits database , makes testing slow, , want run tests fast?

is machinist , fabrication alternatives mill girl? , want run callbacks of models 'after_save' etc.

factorygirl has methods not nail database, like:

factorygirl.build(:object)

ruby-on-rails ruby rspec

No comments:

Post a Comment