[Rails] Re: my web app seed data and cucumber

2010-07-08 Thread Robert Walker
Constantin Gavrilescu wrote: I have three questions: 1. I don't want to run this MinimumData.populate task before each scenario because it takes 8 seconds. Should I make it run just once, globally? Don't use seed data for running tests. I would highly recommend using a Factory framework

[Rails] Re: my web app seed data and cucumber

2010-07-08 Thread Constantin Gavrilescu
On 8 juil, 14:34, Robert Walker li...@ruby-forum.com wrote: Constantin Gavrilescu wrote: I have three questions: 1. I don't want to run this MinimumData.populate task before each scenario because it takes 8 seconds. Should I make it run just once, globally? Don't use seed data for

[Rails] Re: my web app seed data and cucumber

2010-07-08 Thread Robert Walker
Constantin Gavrilescu wrote: On 8 juil, 14:34, Robert Walker li...@ruby-forum.com wrote: can be used to greatly reduce the overhead you're seeing with your seed data generation technique. http://github.com/notahat/machinisthttp://github.com/thoughtbot/factory_girl I was under the