Re: [rspec-users] rake spec order of running tests

2008-08-22 Thread Ben Mabey
Mark Wilden wrote: > On Fri, Aug 22, 2008 at 6:18 AM, David Chelimsky <[EMAIL PROTECTED] > > wrote: > > > Any chance the different machines are windows and otherwise? By > default the files are loaded alphabetically, but that means different > things on windows

Re: [rspec-users] rake spec order of running tests

2008-08-22 Thread Mark Wilden
On Fri, Aug 22, 2008 at 6:18 AM, David Chelimsky <[EMAIL PROTECTED]>wrote: > > Any chance the different machines are windows and otherwise? By > default the files are loaded alphabetically, but that means different > things on windows machines (which treat alpha without regard to case) > and prett

Re: [rspec-users] rake spec order of running tests

2008-08-22 Thread David Chelimsky
On Thu, Aug 21, 2008 at 4:29 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > On Thu, Aug 21, 2008 at 12:51 PM, David Chelimsky <[EMAIL PROTECTED]> > wrote: >> >> My personal feeling is that the code examples should be able to run in >> any arbitrary order and still pass (no dependencies between exampl

Re: [rspec-users] rake spec order of running tests

2008-08-21 Thread Mark Wilden
On Thu, Aug 21, 2008 at 12:51 PM, David Chelimsky <[EMAIL PROTECTED]>wrote: > > My personal feeling is that the code examples should be able to run in > any arbitrary order and still pass (no dependencies between examples) I agree, which is why I said "clearly these tests need fixing." Maybe a b

Re: [rspec-users] rake spec order of running tests

2008-08-21 Thread David Chelimsky
On Thu, Aug 21, 2008 at 2:25 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > We ran into a situation today where running 'rake spec' on one machine > produced different results than when running on a different machine. My > reasoned hunch is that the tests were run in a different order, due to the > f

[rspec-users] rake spec order of running tests

2008-08-21 Thread Mark Wilden
We ran into a situation today where running 'rake spec' on one machine produced different results than when running on a different machine. My reasoned hunch is that the tests were run in a different order, due to the file-globbing producing differently ordered file lists. Because some tests used f