Re: [rspec-users] Spec/Test Speed

2007-10-07 Thread Chad Humphries
The Stories (ie Story Runner full integration tests that hit the db) are fairly slow by comparison, I agree. We have those run on our CI server, and only locally when we modify them. That's our approach for handling integration testing. Re: The mac mini's, yeah they were pairing stations

Re: [rspec-users] Spec/Test Speed

2007-10-07 Thread Scott Taylor
On Oct 7, 2007, at 3:01 PM, Ben Mabey wrote: > >> >> The factory method (or attribute_helper) still hits the database. I >> don't see it as any sort of performance gain. In fact, I've even >> developed a plugin around the Factory idea, and it was only when I >> started using it in all of my test

Re: [rspec-users] Spec/Test Speed

2007-10-07 Thread Ben Mabey
> > The factory method (or attribute_helper) still hits the database. I > don't see it as any sort of performance gain. In fact, I've even > developed a plugin around the Factory idea, and it was only when I > started using it in all of my tests that the speed really started to > affect m

Re: [rspec-users] Spec/Test Speed

2007-10-07 Thread Scott Taylor
On Oct 7, 2007, at 11:42 AM, Pat Maddox wrote: > On 10/6/07, Scott Taylor <[EMAIL PROTECTED]> wrote: >> >> On Oct 7, 2007, at 1:47 AM, Pat Maddox wrote: >> >>> On 10/6/07, Scott Taylor <[EMAIL PROTECTED]> wrote: On Oct 7, 2007, at 12:31 AM, Chad Humphries wrote: > Scott, >

Re: [rspec-users] Spec/Test Speed

2007-10-07 Thread Pat Maddox
On 10/6/07, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Oct 7, 2007, at 1:47 AM, Pat Maddox wrote: > > > On 10/6/07, Scott Taylor <[EMAIL PROTECTED]> wrote: > >> > >> On Oct 7, 2007, at 12:31 AM, Chad Humphries wrote: > >> > >>> Scott, > >>> > >>> I don't really have a lot to contribute on how t

Re: [rspec-users] Spec/Test Speed

2007-10-06 Thread Scott Taylor
On Oct 7, 2007, at 1:47 AM, Pat Maddox wrote: > On 10/6/07, Scott Taylor <[EMAIL PROTECTED]> wrote: >> >> On Oct 7, 2007, at 12:31 AM, Chad Humphries wrote: >> >>> Scott, >>> >>> I don't really have a lot to contribute on how to make it faster, >>> other than to outline what we've been doing on o

Re: [rspec-users] Spec/Test Speed

2007-10-06 Thread Pat Maddox
On 10/6/07, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Oct 7, 2007, at 12:31 AM, Chad Humphries wrote: > > > Scott, > > > > I don't really have a lot to contribute on how to make it faster, > > other than to outline what we've been doing on our projects. > > > > On one of our current projects w

Re: [rspec-users] Spec/Test Speed

2007-10-06 Thread Scott Taylor
On Oct 7, 2007, at 12:31 AM, Chad Humphries wrote: > Scott, > > I don't really have a lot to contribute on how to make it faster, > other than to outline what we've been doing on our projects. > > On one of our current projects we have the following 2570 examples > that run in ~70 seconds on our

Re: [rspec-users] Spec/Test Speed

2007-10-06 Thread Chad Humphries
Scott, I don't really have a lot to contribute on how to make it faster, other than to outline what we've been doing on our projects. On one of our current projects we have the following 2570 examples that run in ~70 seconds on our pairing stations (mac minis, 1.83 c2d). In general across

Re: [rspec-users] Spec/Test Speed

2007-10-06 Thread Scott Taylor
On Oct 4, 2007, at 6:11 AM, Jerry West wrote: > In-memory with sqlite worked fine with rspec-0.8 (it's been a while > since I did this!). Google for instructions or drop me a line. Don't > forget autotest/zentest to run only those tests which have ben > affected > by changes. Actually, on m

Re: [rspec-users] Spec/Test Speed

2007-10-04 Thread Scott Taylor
On Oct 4, 2007, at 6:11 AM, Jerry West wrote: > In-memory with sqlite worked fine with rspec-0.8 (it's been a while > since I did this!). Google for instructions or drop me a line. Don't > forget autotest/zentest to run only those tests which have ben > affected > by changes. Actually, on m

Re: [rspec-users] Spec/Test Speed

2007-10-04 Thread Jerry West
In-memory with sqlite worked fine with rspec-0.8 (it's been a while since I did this!). Google for instructions or drop me a line. Don't forget autotest/zentest to run only those tests which have ben affected by changes. Rgds, Jerry Scott Taylor wrote: > Just wanted to pick some smart peop

Re: [rspec-users] Spec/Test Speed

2007-10-03 Thread M. Edward (Ed) Borasky
Scott Taylor wrote: >> If your test suite and application are fully open source and you don't >> mind someone playing with it, I'm collecting benchmark suites for the >> Ruby interpreter and would love to have a nice heavy "rspec" run as an >> example of real-world Ruby usage. Contact me off-list i

Re: [rspec-users] Spec/Test Speed

2007-10-03 Thread Scott Taylor
> > If your test suite and application are fully open source and you don't > mind someone playing with it, I'm collecting benchmark suites for the > Ruby interpreter and would love to have a nice heavy "rspec" run as an > example of real-world Ruby usage. Contact me off-list if you're > interested,

Re: [rspec-users] Spec/Test Speed

2007-10-03 Thread M. Edward (Ed) Borasky
Scott Taylor wrote: > Just wanted to pick some smart people about this topic: What are you > guys doing to increase the speed of your specs? > > I'm a big fan of autotest, but right now my current project has 438 > specs (for rails). Most of them are in the model, and for all of > them we a

[rspec-users] Spec/Test Speed

2007-10-03 Thread Scott Taylor
Just wanted to pick some smart people about this topic: What are you guys doing to increase the speed of your specs? I'm a big fan of autotest, but right now my current project has 438 specs (for rails). Most of them are in the model, and for all of them we are hitting the database (they a