Class: Mutant::CLI::Command::Environment::Run Private

Inherits:
Mutant::CLI::Command::Environment show all
Defined in:
lib/mutant/cli/command/environment/run.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

NAME =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'run'
SHORT_DESCRIPTION =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'Run code analysis'
SUBCOMMANDS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

EMPTY_ARRAY
UNLICENSED =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

<<~MESSAGE.lines.freeze
  You are using mutant unlicensed.

  See https://github.com/mbj/mutant#licensing to aquire a license.
  Note: Its free for opensource use, which is recommended for trials.
MESSAGE
NO_TESTS_MESSAGE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

<<~'MESSAGE'
  ===============
  Mutant found no tests. Mutation testing cannot be started.

  This can have various reasons:

  * You did not setup an integration, see:
    https://github.com/mbj/mutant/blob/main/docs/configuration.md#integration
  * You set environment variables like RSPEC_OPTS that filter out all tests.
  * You set configuration optiosn like `config.filter_run :focus` which do
    make rspec to not report any test.
  ===============
MESSAGE

Constants inherited from Mutant::CLI::Command::Environment

OPTIONS

Constants inherited from Mutant::CLI::Command

OPTIONS

Instance Method Summary collapse

Methods inherited from Mutant::CLI::Command

#call, command_name, #full_name, parse, short_description

Instance Method Details

#zombie?Bool

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Test if command needs to be executed in zombie environment

Returns:

  • (Bool)


36
37
38
# File 'lib/mutant/cli/command/environment/run.rb', line 36

def zombie?
  @config.zombie
end