Open kiddrew opened 10 months ago
don't think that's possible since that would mean "loading rspec and dumping the files" or loading the whole spec_helper as part of parallel_tests, which is what it tries not to do
if you can make the pattern be configured in .rspec or .parallel_rpsec config files we could maybe parse them though
Hmm, yeah. I get your point. Adding that config to .parallel_rspec might make sense.
I'm working on an enterprise app where some high value customers have additional specs outside of the standard
/spec
path. We have RSpec configured to look for them using a config inrails_helper.rb
Running rspec by itself respects that configuration, but parallel_tests expects all specs to live at
/spec
as defined in the rspec runner:The workaround for this is to specify the paths you want through the CLI:
You lose wildcard functionality, but it at least makes parallel_tests find all the files. IMO, running in RSpec mode should function exactly as RSpec does, which includes using RSpec's configuration.