Is loadby file name order not implemented or not working? - want to run tests in file name order, no

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.

~Andrew C.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs