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
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 ?
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.