Sha256: 953268c338317cf57861914bf03a45a6ef1a8f842b8addd66d3c6e2a70267364

Contents?: true

Size: 793 Bytes

Versions: 9

Compression:

Stored size: 793 Bytes

Contents

#!/usr/bin/env ruby

trap('INT') do |status|
  effective_status = status ? status + 128 : 128
  exit! effective_status
end

require 'mutest'

namespace =
  if ARGV.include?('--zombie')
    $stderr.puts('Running mutest zombified!')
    Mutest::Zombifier.call(
      namespace:        :Zombie,
      load_path:        $LOAD_PATH,
      kernel:           Kernel,
      pathname:         Pathname,
      require_highjack: Mutest::RequireHighjack
        .method(:call)
        .to_proc
        .curry
        .call(Kernel),
      root_require:     'mutest',
      includes:         %w[
        mutest
        unparser
        morpher
        adamantium
        equalizer
        anima
        concord
      ]
    )
    Zombie::Mutest
  else
    Mutest
  end

Kernel.exit(namespace::CLI.run(ARGV))

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mutest-0.0.10 bin/mutest
mutest-0.0.9 bin/mutest
mutest-0.0.8 bin/mutest
mutest-0.0.7 bin/mutest
mutest-0.0.6 bin/mutest
mutest-0.0.5 bin/mutest
mutest-0.0.4 bin/mutest
mutest-0.0.3 bin/mutest
mutest-0.0.2 bin/mutest