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 fixtures and some didn't, that resulted in different test db contents, depending on the order the tests were run (clearly, these tests need fixing).
I haven't really looked into this at all, for now. But it occurs to me that if my suspicion is correct, this situation would be fixed by running tests in alphabetical order. Presumably this would be a change to the spec Rake task. Does this make any kind of sense? If so, I (or someone better suited to the task) could look into it further. (Coincidentally, a similar situation resulted in a contribution I made to Visual FoxPro!) ///ark
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users