class ParallelTests::Cucumber::Runner
def self.profile_from_config
def self.profile_from_config # copied from https://github.com/cucumber/cucumber/blob/master/lib/cucumber/cli/profile_loader.rb#L85 config = Dir.glob('{,.config/,config/}cucumber{.yml,.yaml}').first if config && File.read(config) =~ /^parallel:/ "--profile parallel" end end