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.

"You are using mutant unlicensed.\n\nSee https://github.com/mbj/mutant#licensing to aquire a license.\nNote: Its free for opensource use, which is recommended for trials.\n".lines.freeze
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.

"===============\nMutant found no tests. Mutation testing cannot be started.\n\nThis can have various reasons:\n\n* You did not setup an integration, see:\n  https://github.com/mbj/mutant/blob/main/docs/configuration.md#integration\n* You set environment variables like RSPEC_OPTS that filter out all tests.\n* You set configuration optiosn like `config.filter_run :focus` which do\n  make rspec to not report any test.\n===============\n"

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