This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
How can I add a custom command option for rspec --order like rspec --order prioritized
#3024
Closed
Description
Hey,
I am working on a gem to prioritize specs in a specific order and just realized that calling rspec path_1 path_2 path_3
applies the preset ordering to path_1, path_2, path_3 instead of running it in passed order.
So I was wondering how can I achieve this the easiest way.
As far as I know by now I would have to use register_ordering
and looked at some example for that. So far so good, but how would I add an option to use my newly defined order from command line?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels