Andrew Chen
2008-Mar-31 16:07 UTC
[rspec-users] Is loadby file name order not implemented or not working? - want to run tests in file name order, not mtime order
Hi, I''m writing my requirements in rspec, however, I can not figure out a way to execute all specs according to alphabetical order, not by last modified time. According to the documentation, it seems like the default is by alphabetical order, I just can not get that to work. In the unit tests with the rspec package, seems like only mtime was tested. Can anyone tell me how to run specs by name order ? spec spec/* This will printout -L, --loadby STRATEGY Specify the strategy by which spec files should be loaded. STRATEGY can currently only be ''mtime'' (File modification time) By default, spec files are loaded in alphabetical order if --loadby is not specified. Thanks ~Andrew Chen