module SimpleCov::CommandGuesser

def from_command_line_options

def from_command_line_options
  case original_run_command
    when /#{'test/functional/'}/
      "Functional Tests"
    when /#{'test/integration/'}/
      "Integration Tests"
    when /#{'test/'}/
      "Unit Tests"
    when /cucumber/, /features/
      "Cucumber Features"
    when /spec/
      "RSpec"
    else
      nil
  end
end