module SimpleCov::Configuration
def command_name(name=nil)
You can specify it manually with SimpleCov.command_name("test:units") - please
is set to the shell command that the current suite is running on.
them properly. If it fails to recognize the current command, the command name
unit tests, functional tests, integration tests, rpsec and cucumber and label
arguments the current test suite is running on and should automatically detect
merging and caching. It first tries to make a guess based upon the command line
The name of the command (a.k.a. Test Suite) currently running. Used for result
def command_name(name=nil) @name = name unless name.nil? @name ||= SimpleCov::CommandGuesser.guess("#{$0} #{ARGV.join(" ")}") @name end