Class: TestLauncher::Queries::GenericQuery

Inherits:
BaseQuery
  • Object
show all
Defined in:
lib/test_launcher/queries.rb

Instance Attribute Summary

Attributes inherited from BaseQuery

#request

Instance Method Summary collapse

Methods inherited from BaseQuery

#initialize

Constructor Details

This class inherits a constructor from TestLauncher::Queries::BaseQuery

Instance Method Details

#commandObject



462
463
464
465
466
467
468
469
470
# File 'lib/test_launcher/queries.rb', line 462

def command
  if request.rerun?
    command_finder.rerun
  elsif request.example_name
    command_finder.specified_name
  else
    command_finder.full_search
  end
end