On Sep 9, 7:18 am, Matteo Vaccari <[email protected]> wrote:
> On Sep 8, 3:44 pm, Frederick Cheung <[email protected]>
> wrote:
> > Should, but it is possible for this not to be true. A random order
> > would be hard to work with though - Run your suite and a test fails,
> > run it again and it doesn't any more.
>
> The whole point of randomizing test execution is to have a better
> chance to discover that the tests are not independent. Once you find
> a test that fails because of the order of execution, you fix it so
> that it does not happen anymore.
>
I get that, but unless you could say 'run the tests again but in the
same random order as before' how are you going to be sure that you've
actually fixed your code/tests ?
Fred
> Matteo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---