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



413
414
415
416
417
418
419
420
421
# File 'lib/test_launcher/queries.rb', line 413

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