[rspec-users] rake spec order of running tests

Ben Mabey ben at benmabey.com
Fri Aug 22 11:38:02 EDT 2008

Mark Wilden wrote:
> On Fri, Aug 22, 2008 at 6:18 AM, David Chelimsky <dchelimsky at gmail.com
> <mailto:dchelimsky at gmail.com>> 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 pretty much anything else.
> The specs ran fine a Free-BSD machine, but failed on Windows and OS X
> machines. The guy who "initiated" the failures was on Windows but
> doesn't tend to run rake spec locally (this was Bruce, Pat).
> Maybe I'll have a look at the random order thing...

I think autotest does this already... It will at least mess with the
order of your specs/tests so that brittle ones are exposed.

> ///ark
> ------------------------------------------------------------------------
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list