You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 in rails_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:
def default_test_folder
"spec"
end
The workaround for this is to specify the paths you want through the CLI:
parallel_rspec -- spec customers
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: