module SimpleCov::CommandGuesser

Attributes

original_run_command[RW]

Storage for the original command line call that invoked the test suite. This has got to be stored as early as possible because i.e. rake and test/unit 2 have a habit of tampering with ARGV, which makes i.e. the automatic distinction between rails unit/functional/integration tests impossible without this cached item.

Public Class Methods

guess() click to toggle source
# File lib/simplecov/command_guesser.rb, line 14
def guess
  from_env || from_command_line_options || from_defined_constants
end