Julian Leviston
2013-Apr-05 23:37 UTC
Re: How to create 10000 pseudo data for Testing in RoR
On 06/04/2013, at 2:13 AM, Greg Akins <angrygreg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Depends on what you''re trying to test. > > If it''s a single table and the values in the database don''t matter, you can just add a [0..10000].each loop in seed.rb > > Or copy production data > > Or use a sql script to load your database > > Or one of these http://watirmelon.com/2012/06/15/three-ways-to-generate-test-data-for-your-ruby-automated-tests/ > > On Fri, Apr 5, 2013 at 11:08 AM, haxuan lac <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > I want to test performance of project. > So i want make 10000 record of table for testing. > I don''t know how to ganerate record. > Who can help me? Thanks. > > > > Greg Akins > http://twitter.com/akinsgre > > > --Props, Greg! I''m impressed with your response. I saw the question, and these kinds of questions really bother me because they lack specificity. I was thinking maybe we should have a noob web form app that could help them build their questions properly for submitting, by asking THEM lots of questions. :) Then we could just point them to it, and say hey, do this! :) But yeah, "more information please, as much as possible" is such a common thing to say. Julian -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Jordon Bedwell
2013-Apr-05 23:43 UTC
Re: How to create 10000 pseudo data for Testing in RoR
On Fri, Apr 5, 2013 at 6:37 PM, Julian Leviston <julian-AfxEtdRqmE/tt0EhB6fy4g@public.gmane.org>wrote:> Props, Greg! I''m impressed with your response. I saw the question, and > these kinds of questions really bother me because they lack specificity. I > was thinking maybe we should have a noob web form app that could help them > build their questions properly for submitting, by asking THEM lots of > questions. :) Then we could just point them to it, and say hey, do this! :) > > But yeah, "more information please, as much as possible" is such a common > thing to say. >Maybe we should also have a big ass sign on-top of it for people who make worthless comments, all it needs to say is "don''t make worthless comments." And yes, I realize the irony. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.