class TestLauncher::CLI::MultiFrameworkQuery

Public Instance Methods

command() click to toggle source
# File lib/test_launcher/cli.rb, line 10
def command
  command = nil
  command_finders.each do |command_finder|
    command = command_finder.generic_search
    break if command
  end
  command
end
command_finders() click to toggle source
# File lib/test_launcher/cli.rb, line 19
def command_finders
  cli_options.frameworks.map do |framework|
    Queries::CommandFinder.new(request_for(framework))
  end
end
request_for(framework) click to toggle source
# File lib/test_launcher/cli.rb, line 25
def request_for(framework)
  Request.new(
    framework: framework,
    search_string: cli_options.search_string,
    rerun: cli_options.rerun,
    run_all: cli_options.run_all,
    disable_spring: cli_options.disable_spring,
    force_spring: cli_options.force_spring,
    example_name: cli_options.example_name,
    shell: cli_options.shell,
    searcher: cli_options.searcher,
  )
end