class ParallelTests::Gherkin::Runner

def profile_from_config

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