mutant 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mutant.rb +1 -0
- data/lib/mutant/isolation.rb +1 -1
- data/lib/mutant/isolation/fork.rb +2 -2
- data/lib/mutant/isolation/none.rb +1 -1
- data/lib/mutant/minitest/coverage.rb +53 -0
- data/lib/mutant/mutator/node/block_pass.rb +29 -0
- data/lib/mutant/mutator/node/noop.rb +1 -1
- data/lib/mutant/mutator/node/send.rb +24 -0
- data/lib/mutant/version.rb +1 -1
- metadata +5 -326
- data/.github/workflows/ci.yml +0 -121
- data/.gitignore +0 -38
- data/.rspec +0 -5
- data/.rubocop.yml +0 -210
- data/Changelog.md +0 -91
- data/Gemfile +0 -7
- data/Gemfile.lock +0 -107
- data/Gemfile.shared +0 -10
- data/README.md +0 -199
- data/Rakefile +0 -5
- data/config/devtools.yml +0 -2
- data/config/reek.yml +0 -139
- data/config/yardstick.yml +0 -2
- data/docs/commercial-support.md +0 -14
- data/docs/concurrency.md +0 -39
- data/docs/incremental.md +0 -76
- data/docs/known-problems.md +0 -30
- data/docs/limitations.md +0 -50
- data/docs/mutant-minitest.md +0 -149
- data/docs/mutant-rspec.md +0 -130
- data/docs/nomenclature.md +0 -82
- data/docs/reading-reports.md +0 -74
- data/meta/and.rb +0 -13
- data/meta/and_asgn.rb +0 -14
- data/meta/array.rb +0 -27
- data/meta/begin.rb +0 -20
- data/meta/block.rb +0 -199
- data/meta/block_pass.rb +0 -8
- data/meta/blockarg.rb +0 -10
- data/meta/break.rb +0 -9
- data/meta/case.rb +0 -217
- data/meta/casgn.rb +0 -25
- data/meta/cbase.rb +0 -8
- data/meta/class.rb +0 -12
- data/meta/const.rb +0 -17
- data/meta/csend.rb +0 -10
- data/meta/cvar.rb +0 -7
- data/meta/cvasgn.rb +0 -9
- data/meta/date.rb +0 -59
- data/meta/def.rb +0 -196
- data/meta/defined.rb +0 -9
- data/meta/dstr.rb +0 -13
- data/meta/dsym.rb +0 -14
- data/meta/ensure.rb +0 -8
- data/meta/false.rb +0 -7
- data/meta/file.rb +0 -5
- data/meta/float.rb +0 -37
- data/meta/gvar.rb +0 -7
- data/meta/gvasgn.rb +0 -9
- data/meta/hash.rb +0 -20
- data/meta/if.rb +0 -72
- data/meta/index.rb +0 -133
- data/meta/indexasgn.rb +0 -31
- data/meta/int.rb +0 -18
- data/meta/ivar.rb +0 -8
- data/meta/ivasgn.rb +0 -22
- data/meta/kwarg.rb +0 -10
- data/meta/kwbegin.rb +0 -8
- data/meta/kwoptarg.rb +0 -13
- data/meta/lambda.rb +0 -23
- data/meta/line.rb +0 -5
- data/meta/lvar.rb +0 -16
- data/meta/lvasgn.rb +0 -24
- data/meta/masgn.rb +0 -7
- data/meta/match_current_line.rb +0 -14
- data/meta/next.rb +0 -10
- data/meta/nil.rb +0 -5
- data/meta/nthref.rb +0 -14
- data/meta/op_assgn.rb +0 -17
- data/meta/or.rb +0 -13
- data/meta/or_asgn.rb +0 -50
- data/meta/range.rb +0 -63
- data/meta/redo.rb +0 -5
- data/meta/regexp.rb +0 -80
- data/meta/regopt.rb +0 -10
- data/meta/rescue.rb +0 -84
- data/meta/return.rb +0 -16
- data/meta/sclass.rb +0 -12
- data/meta/self.rb +0 -7
- data/meta/send.rb +0 -600
- data/meta/str.rb +0 -7
- data/meta/super.rb +0 -27
- data/meta/sym.rb +0 -8
- data/meta/true.rb +0 -7
- data/meta/until.rb +0 -16
- data/meta/while.rb +0 -24
- data/meta/yield.rb +0 -9
- data/mutant-minitest.gemspec +0 -22
- data/mutant-rspec.gemspec +0 -22
- data/mutant.gemspec +0 -44
- data/mutant.sh +0 -12
- data/mutant.yml +0 -6
- data/spec/integration/mutant/corpus_spec.rb +0 -15
- data/spec/integration/mutant/isolation/fork_spec.rb +0 -28
- data/spec/integration/mutant/minitest_spec.rb +0 -11
- data/spec/integration/mutant/null_spec.rb +0 -16
- data/spec/integration/mutant/rspec_spec.rb +0 -15
- data/spec/integration/mutant/test_mutator_handles_types_spec.rb +0 -9
- data/spec/integrations.yml +0 -63
- data/spec/shared/framework_integration_behavior.rb +0 -70
- data/spec/shared/method_matcher_behavior.rb +0 -47
- data/spec/spec_helper.rb +0 -90
- data/spec/support/corpus.rb +0 -318
- data/spec/support/file_system.rb +0 -62
- data/spec/support/ice_nine_config.rb +0 -10
- data/spec/support/ruby_vm.rb +0 -84
- data/spec/support/shared_context.rb +0 -169
- data/spec/support/xspec.rb +0 -183
- data/spec/unit/mutant/ast/find_metaclass_containing_spec.rb +0 -64
- data/spec/unit/mutant/ast/meta/optarg_spec.rb +0 -24
- data/spec/unit/mutant/ast/meta/send/proc_predicate_spec.rb +0 -30
- data/spec/unit/mutant/ast/meta/send/receiver_possible_top_level_const_predicate_spec.rb +0 -39
- data/spec/unit/mutant/ast/meta/send_spec.rb +0 -42
- data/spec/unit/mutant/ast/named_children_spec.rb +0 -89
- data/spec/unit/mutant/ast/sexp_spec.rb +0 -38
- data/spec/unit/mutant/ast_spec.rb +0 -57
- data/spec/unit/mutant/bootstrap_spec.rb +0 -216
- data/spec/unit/mutant/cli_spec.rb +0 -305
- data/spec/unit/mutant/clock_monotonic_spec.rb +0 -52
- data/spec/unit/mutant/config_spec.rb +0 -126
- data/spec/unit/mutant/context_spec.rb +0 -111
- data/spec/unit/mutant/env_spec.rb +0 -229
- data/spec/unit/mutant/expression/method_spec.rb +0 -62
- data/spec/unit/mutant/expression/methods_spec.rb +0 -66
- data/spec/unit/mutant/expression/namespace/exact_spec.rb +0 -28
- data/spec/unit/mutant/expression/namespace/recursive_spec.rb +0 -66
- data/spec/unit/mutant/expression/parser_spec.rb +0 -65
- data/spec/unit/mutant/expression_spec.rb +0 -45
- data/spec/unit/mutant/integration/rspec_spec.rb +0 -201
- data/spec/unit/mutant/integration_spec.rb +0 -150
- data/spec/unit/mutant/isolation/fork_spec.rb +0 -309
- data/spec/unit/mutant/isolation/none_spec.rb +0 -23
- data/spec/unit/mutant/isolation/result_spec.rb +0 -73
- data/spec/unit/mutant/license_spec.rb +0 -305
- data/spec/unit/mutant/loader_spec.rb +0 -79
- data/spec/unit/mutant/matcher/chain_spec.rb +0 -26
- data/spec/unit/mutant/matcher/compiler_spec.rb +0 -0
- data/spec/unit/mutant/matcher/config_spec.rb +0 -47
- data/spec/unit/mutant/matcher/filter_spec.rb +0 -22
- data/spec/unit/mutant/matcher/method/instance_spec.rb +0 -164
- data/spec/unit/mutant/matcher/method/metaclass_spec.rb +0 -108
- data/spec/unit/mutant/matcher/method/singleton_spec.rb +0 -90
- data/spec/unit/mutant/matcher/methods/instance_spec.rb +0 -54
- data/spec/unit/mutant/matcher/methods/metaclass_spec.rb +0 -62
- data/spec/unit/mutant/matcher/methods/singleton_spec.rb +0 -51
- data/spec/unit/mutant/matcher/namespace_spec.rb +0 -39
- data/spec/unit/mutant/matcher/null_spec.rb +0 -12
- data/spec/unit/mutant/matcher/scope_spec.rb +0 -45
- data/spec/unit/mutant/matcher/static_spec.rb +0 -13
- data/spec/unit/mutant/matcher_spec.rb +0 -102
- data/spec/unit/mutant/meta/example/dsl_spec.rb +0 -108
- data/spec/unit/mutant/meta/example/verification_spec.rb +0 -154
- data/spec/unit/mutant/meta/example_spec.rb +0 -34
- data/spec/unit/mutant/mutation_spec.rb +0 -140
- data/spec/unit/mutant/mutator/node_spec.rb +0 -47
- data/spec/unit/mutant/mutator_spec.rb +0 -21
- data/spec/unit/mutant/parallel/driver_spec.rb +0 -126
- data/spec/unit/mutant/parallel/source/array_spec.rb +0 -57
- data/spec/unit/mutant/parallel/worker_spec.rb +0 -206
- data/spec/unit/mutant/parallel_spec.rb +0 -115
- data/spec/unit/mutant/parser_spec.rb +0 -26
- data/spec/unit/mutant/range_spec.rb +0 -141
- data/spec/unit/mutant/registry_spec.rb +0 -74
- data/spec/unit/mutant/reporter/cli/printer/config_spec.rb +0 -17
- data/spec/unit/mutant/reporter/cli/printer/env_progress_spec.rb +0 -85
- data/spec/unit/mutant/reporter/cli/printer/env_result_spec.rb +0 -45
- data/spec/unit/mutant/reporter/cli/printer/isolation_result_spec.rb +0 -132
- data/spec/unit/mutant/reporter/cli/printer/mutation_progress_result_spec.rb +0 -25
- data/spec/unit/mutant/reporter/cli/printer/mutation_result_spec.rb +0 -153
- data/spec/unit/mutant/reporter/cli/printer/status_progressive_spec.rb +0 -45
- data/spec/unit/mutant/reporter/cli/printer/subject_progress_spec.rb +0 -36
- data/spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb +0 -44
- data/spec/unit/mutant/reporter/cli/printer/test_result_spec.rb +0 -16
- data/spec/unit/mutant/reporter/cli/printer_spec.rb +0 -163
- data/spec/unit/mutant/reporter/cli_spec.rb +0 -137
- data/spec/unit/mutant/reporter/null_spec.rb +0 -14
- data/spec/unit/mutant/reporter/sequence_spec.rb +0 -31
- data/spec/unit/mutant/repository/diff/ranges_spec.rb +0 -180
- data/spec/unit/mutant/repository/diff_spec.rb +0 -122
- data/spec/unit/mutant/repository/subject_filter_spec.rb +0 -30
- data/spec/unit/mutant/require_highjack_spec.rb +0 -73
- data/spec/unit/mutant/result/class_methods_spec.rb +0 -51
- data/spec/unit/mutant/result/env_spec.rb +0 -161
- data/spec/unit/mutant/result/mutation_spec.rb +0 -70
- data/spec/unit/mutant/result/subject_spec.rb +0 -111
- data/spec/unit/mutant/result/test_spec.rb +0 -14
- data/spec/unit/mutant/result_spec.rb +0 -33
- data/spec/unit/mutant/runner/sink_spec.rb +0 -174
- data/spec/unit/mutant/runner_spec.rb +0 -121
- data/spec/unit/mutant/selector/expression_spec.rb +0 -62
- data/spec/unit/mutant/selector/null_spec.rb +0 -17
- data/spec/unit/mutant/subject/method/instance_spec.rb +0 -276
- data/spec/unit/mutant/subject/method/metaclass_spec.rb +0 -63
- data/spec/unit/mutant/subject/method/singleton_spec.rb +0 -61
- data/spec/unit/mutant/subject_spec.rb +0 -93
- data/spec/unit/mutant/transform/array_spec.rb +0 -92
- data/spec/unit/mutant/transform/bool_spec.rb +0 -63
- data/spec/unit/mutant/transform/error_spec.rb +0 -132
- data/spec/unit/mutant/transform/exception_spec.rb +0 -44
- data/spec/unit/mutant/transform/hash_spec.rb +0 -236
- data/spec/unit/mutant/transform/index_spec.rb +0 -92
- data/spec/unit/mutant/transform/named_spec.rb +0 -49
- data/spec/unit/mutant/transform/primitive_spec.rb +0 -56
- data/spec/unit/mutant/transform/sequence_spec.rb +0 -98
- data/spec/unit/mutant/util/one_spec.rb +0 -22
- data/spec/unit/mutant/warnings_spec.rb +0 -89
- data/spec/unit/mutant/world_spec.rb +0 -63
- data/spec/unit/mutant/zombifier_spec.rb +0 -122
- data/test_app/.rspec +0 -1
- data/test_app/Gemfile.minitest +0 -6
- data/test_app/Gemfile.rspec3.8 +0 -7
- data/test_app/lib/test_app.rb +0 -114
- data/test_app/lib/test_app/literal.rb +0 -35
- data/test_app/lib/test_app/metaclasses.rb +0 -108
- data/test_app/spec/spec_helper.rb +0 -9
- data/test_app/spec/unit/test_app/literal_spec.rb +0 -20
- data/test_app/test/unit/test_app/literal_test.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f2d39499ffdc3adced885c60b9b22220e409f360fce5ab8ac0aaeb36bdbda3
|
4
|
+
data.tar.gz: dee6aa26ddce9e06949566dfc75d4daf295ec76ea46903af80b0ac4027f338ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6a44765e6fec377e0f4d9e3047832468af386b34f5d7a231fb940802a97977bba6000b016ca6739f402314bf03027dd8852776ff1ee687d6e67fb6168d5416a
|
7
|
+
data.tar.gz: 9d696a03e4a86c8838fa73ab147a75dac9f8f14b1f20eef653b30a3758c4044f016f4444f94827738d6bd39d05fdd9cddafdcfbd2a6475c2ebbc8674f005738d
|
data/lib/mutant.rb
CHANGED
@@ -120,6 +120,7 @@ require 'mutant/mutator/node/nthref'
|
|
120
120
|
require 'mutant/mutator/node/masgn'
|
121
121
|
require 'mutant/mutator/node/return'
|
122
122
|
require 'mutant/mutator/node/block'
|
123
|
+
require 'mutant/mutator/node/block_pass'
|
123
124
|
require 'mutant/mutator/node/if'
|
124
125
|
require 'mutant/mutator/node/case'
|
125
126
|
require 'mutant/mutator/node/splat'
|
data/lib/mutant/isolation.rb
CHANGED
@@ -10,12 +10,12 @@ module Mutant
|
|
10
10
|
|
11
11
|
ATTRIBUTES = %i[block log_pipe result_pipe world].freeze
|
12
12
|
|
13
|
-
#
|
13
|
+
# Unsuccessful result as child exited nonzero
|
14
14
|
class ChildError < Result
|
15
15
|
include Concord::Public.new(:value, :log)
|
16
16
|
end # ChildError
|
17
17
|
|
18
|
-
#
|
18
|
+
# Unsuccessful result as fork failed
|
19
19
|
class ForkError < Result
|
20
20
|
include Equalizer.new
|
21
21
|
end # ForkError
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'minitest'
|
4
|
+
|
5
|
+
module Mutant
|
6
|
+
module Minitest
|
7
|
+
module Coverage
|
8
|
+
# Setup coverage declaration for current class
|
9
|
+
#
|
10
|
+
# @param [String]
|
11
|
+
#
|
12
|
+
# @example
|
13
|
+
#
|
14
|
+
# class MyTest < MiniTest::Test
|
15
|
+
# cover 'MyCode*'
|
16
|
+
#
|
17
|
+
# def test_some_stuff
|
18
|
+
# end
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
# @api public
|
22
|
+
def cover(expression)
|
23
|
+
if defined?(@cover_expression)
|
24
|
+
fail "#{self} already declares to cover: #{@cover_expression.inspect}"
|
25
|
+
end
|
26
|
+
|
27
|
+
@cover_expression = expression
|
28
|
+
end
|
29
|
+
|
30
|
+
# Effective coverage expression
|
31
|
+
#
|
32
|
+
# @return [String, nil]
|
33
|
+
#
|
34
|
+
# @api private
|
35
|
+
def resolve_cover_expression
|
36
|
+
return @cover_expression if defined?(@cover_expression)
|
37
|
+
|
38
|
+
try_superclass_cover_expression
|
39
|
+
end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def try_superclass_cover_expression
|
44
|
+
return if superclass.equal?(::Minitest::Runnable)
|
45
|
+
|
46
|
+
superclass.resolve_cover_expression
|
47
|
+
end
|
48
|
+
|
49
|
+
end # Coverage
|
50
|
+
end # Minitest
|
51
|
+
end # Mutant
|
52
|
+
|
53
|
+
Minitest::Test.extend(Mutant::Minitest::Coverage)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Mutant
|
4
|
+
class Mutator
|
5
|
+
class Node
|
6
|
+
class BlockPass < self
|
7
|
+
|
8
|
+
handle(:block_pass)
|
9
|
+
|
10
|
+
children :argument
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
def dispatch
|
15
|
+
emit_argument_mutations
|
16
|
+
emit_symbol_to_proc_mutations
|
17
|
+
end
|
18
|
+
|
19
|
+
def emit_symbol_to_proc_mutations
|
20
|
+
return unless n_sym?(argument)
|
21
|
+
|
22
|
+
Send::SELECTOR_REPLACEMENTS.fetch(*argument, EMPTY_ARRAY).each do |method|
|
23
|
+
emit_argument(s(:sym, method))
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end # Block
|
27
|
+
end # Node
|
28
|
+
end # Mutator
|
29
|
+
end # Mutant
|
@@ -79,6 +79,8 @@ module Mutant
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def emit_selector_specific_mutations
|
82
|
+
emit_array_mutation
|
83
|
+
emit_static_send
|
82
84
|
emit_const_get_mutation
|
83
85
|
emit_integer_mutation
|
84
86
|
emit_dig_mutation
|
@@ -86,6 +88,28 @@ module Mutant
|
|
86
88
|
emit_lambda_mutation
|
87
89
|
end
|
88
90
|
|
91
|
+
def emit_array_mutation
|
92
|
+
return unless selector.equal?(:Array) && possible_kernel_method?
|
93
|
+
|
94
|
+
emit(s(:array, *arguments))
|
95
|
+
end
|
96
|
+
|
97
|
+
def emit_static_send
|
98
|
+
return unless %i[__send__ send public_send].include?(selector)
|
99
|
+
|
100
|
+
dynamic_selector, *actual_arguments = *arguments
|
101
|
+
|
102
|
+
return unless n_sym?(dynamic_selector)
|
103
|
+
|
104
|
+
method_name = AST::Meta::Symbol.new(dynamic_selector).name
|
105
|
+
|
106
|
+
emit(s(node.type, receiver, method_name, *actual_arguments))
|
107
|
+
end
|
108
|
+
|
109
|
+
def possible_kernel_method?
|
110
|
+
receiver.nil? || receiver.eql?(s(:const, nil, :Kernel))
|
111
|
+
end
|
112
|
+
|
89
113
|
def emit_receiver_selector_mutations
|
90
114
|
return unless meta.receiver_possible_top_level_const?
|
91
115
|
|
data/lib/mutant/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: abstract_type
|
@@ -285,30 +285,8 @@ extensions: []
|
|
285
285
|
extra_rdoc_files:
|
286
286
|
- LICENSE
|
287
287
|
files:
|
288
|
-
- ".github/workflows/ci.yml"
|
289
|
-
- ".gitignore"
|
290
|
-
- ".rspec"
|
291
|
-
- ".rubocop.yml"
|
292
|
-
- Changelog.md
|
293
|
-
- Gemfile
|
294
|
-
- Gemfile.lock
|
295
|
-
- Gemfile.shared
|
296
288
|
- LICENSE
|
297
|
-
- README.md
|
298
|
-
- Rakefile
|
299
289
|
- bin/mutant
|
300
|
-
- config/devtools.yml
|
301
|
-
- config/reek.yml
|
302
|
-
- config/yardstick.yml
|
303
|
-
- docs/commercial-support.md
|
304
|
-
- docs/concurrency.md
|
305
|
-
- docs/incremental.md
|
306
|
-
- docs/known-problems.md
|
307
|
-
- docs/limitations.md
|
308
|
-
- docs/mutant-minitest.md
|
309
|
-
- docs/mutant-rspec.md
|
310
|
-
- docs/nomenclature.md
|
311
|
-
- docs/reading-reports.md
|
312
290
|
- lib/mutant.rb
|
313
291
|
- lib/mutant/ast.rb
|
314
292
|
- lib/mutant/ast/find_metaclass_containing.rb
|
@@ -360,6 +338,7 @@ files:
|
|
360
338
|
- lib/mutant/meta/example.rb
|
361
339
|
- lib/mutant/meta/example/dsl.rb
|
362
340
|
- lib/mutant/meta/example/verification.rb
|
341
|
+
- lib/mutant/minitest/coverage.rb
|
363
342
|
- lib/mutant/mutation.rb
|
364
343
|
- lib/mutant/mutator.rb
|
365
344
|
- lib/mutant/mutator/node.rb
|
@@ -369,6 +348,7 @@ files:
|
|
369
348
|
- lib/mutant/mutator/node/begin.rb
|
370
349
|
- lib/mutant/mutator/node/binary.rb
|
371
350
|
- lib/mutant/mutator/node/block.rb
|
351
|
+
- lib/mutant/mutator/node/block_pass.rb
|
372
352
|
- lib/mutant/mutator/node/break.rb
|
373
353
|
- lib/mutant/mutator/node/case.rb
|
374
354
|
- lib/mutant/mutator/node/class.rb
|
@@ -469,201 +449,6 @@ files:
|
|
469
449
|
- lib/mutant/version.rb
|
470
450
|
- lib/mutant/warnings.rb
|
471
451
|
- lib/mutant/zombifier.rb
|
472
|
-
- meta/and.rb
|
473
|
-
- meta/and_asgn.rb
|
474
|
-
- meta/array.rb
|
475
|
-
- meta/begin.rb
|
476
|
-
- meta/block.rb
|
477
|
-
- meta/block_pass.rb
|
478
|
-
- meta/blockarg.rb
|
479
|
-
- meta/break.rb
|
480
|
-
- meta/case.rb
|
481
|
-
- meta/casgn.rb
|
482
|
-
- meta/cbase.rb
|
483
|
-
- meta/class.rb
|
484
|
-
- meta/const.rb
|
485
|
-
- meta/csend.rb
|
486
|
-
- meta/cvar.rb
|
487
|
-
- meta/cvasgn.rb
|
488
|
-
- meta/date.rb
|
489
|
-
- meta/def.rb
|
490
|
-
- meta/defined.rb
|
491
|
-
- meta/dstr.rb
|
492
|
-
- meta/dsym.rb
|
493
|
-
- meta/ensure.rb
|
494
|
-
- meta/false.rb
|
495
|
-
- meta/file.rb
|
496
|
-
- meta/float.rb
|
497
|
-
- meta/gvar.rb
|
498
|
-
- meta/gvasgn.rb
|
499
|
-
- meta/hash.rb
|
500
|
-
- meta/if.rb
|
501
|
-
- meta/index.rb
|
502
|
-
- meta/indexasgn.rb
|
503
|
-
- meta/int.rb
|
504
|
-
- meta/ivar.rb
|
505
|
-
- meta/ivasgn.rb
|
506
|
-
- meta/kwarg.rb
|
507
|
-
- meta/kwbegin.rb
|
508
|
-
- meta/kwoptarg.rb
|
509
|
-
- meta/lambda.rb
|
510
|
-
- meta/line.rb
|
511
|
-
- meta/lvar.rb
|
512
|
-
- meta/lvasgn.rb
|
513
|
-
- meta/masgn.rb
|
514
|
-
- meta/match_current_line.rb
|
515
|
-
- meta/next.rb
|
516
|
-
- meta/nil.rb
|
517
|
-
- meta/nthref.rb
|
518
|
-
- meta/op_assgn.rb
|
519
|
-
- meta/or.rb
|
520
|
-
- meta/or_asgn.rb
|
521
|
-
- meta/range.rb
|
522
|
-
- meta/redo.rb
|
523
|
-
- meta/regexp.rb
|
524
|
-
- meta/regopt.rb
|
525
|
-
- meta/rescue.rb
|
526
|
-
- meta/return.rb
|
527
|
-
- meta/sclass.rb
|
528
|
-
- meta/self.rb
|
529
|
-
- meta/send.rb
|
530
|
-
- meta/str.rb
|
531
|
-
- meta/super.rb
|
532
|
-
- meta/sym.rb
|
533
|
-
- meta/true.rb
|
534
|
-
- meta/until.rb
|
535
|
-
- meta/while.rb
|
536
|
-
- meta/yield.rb
|
537
|
-
- mutant-minitest.gemspec
|
538
|
-
- mutant-rspec.gemspec
|
539
|
-
- mutant.gemspec
|
540
|
-
- mutant.sh
|
541
|
-
- mutant.yml
|
542
|
-
- spec/integration/mutant/corpus_spec.rb
|
543
|
-
- spec/integration/mutant/isolation/fork_spec.rb
|
544
|
-
- spec/integration/mutant/minitest_spec.rb
|
545
|
-
- spec/integration/mutant/null_spec.rb
|
546
|
-
- spec/integration/mutant/rspec_spec.rb
|
547
|
-
- spec/integration/mutant/test_mutator_handles_types_spec.rb
|
548
|
-
- spec/integrations.yml
|
549
|
-
- spec/shared/framework_integration_behavior.rb
|
550
|
-
- spec/shared/method_matcher_behavior.rb
|
551
|
-
- spec/spec_helper.rb
|
552
|
-
- spec/support/corpus.rb
|
553
|
-
- spec/support/file_system.rb
|
554
|
-
- spec/support/ice_nine_config.rb
|
555
|
-
- spec/support/ruby_vm.rb
|
556
|
-
- spec/support/shared_context.rb
|
557
|
-
- spec/support/xspec.rb
|
558
|
-
- spec/unit/mutant/ast/find_metaclass_containing_spec.rb
|
559
|
-
- spec/unit/mutant/ast/meta/optarg_spec.rb
|
560
|
-
- spec/unit/mutant/ast/meta/send/proc_predicate_spec.rb
|
561
|
-
- spec/unit/mutant/ast/meta/send/receiver_possible_top_level_const_predicate_spec.rb
|
562
|
-
- spec/unit/mutant/ast/meta/send_spec.rb
|
563
|
-
- spec/unit/mutant/ast/named_children_spec.rb
|
564
|
-
- spec/unit/mutant/ast/sexp_spec.rb
|
565
|
-
- spec/unit/mutant/ast_spec.rb
|
566
|
-
- spec/unit/mutant/bootstrap_spec.rb
|
567
|
-
- spec/unit/mutant/cli_spec.rb
|
568
|
-
- spec/unit/mutant/clock_monotonic_spec.rb
|
569
|
-
- spec/unit/mutant/config_spec.rb
|
570
|
-
- spec/unit/mutant/context_spec.rb
|
571
|
-
- spec/unit/mutant/env_spec.rb
|
572
|
-
- spec/unit/mutant/expression/method_spec.rb
|
573
|
-
- spec/unit/mutant/expression/methods_spec.rb
|
574
|
-
- spec/unit/mutant/expression/namespace/exact_spec.rb
|
575
|
-
- spec/unit/mutant/expression/namespace/recursive_spec.rb
|
576
|
-
- spec/unit/mutant/expression/parser_spec.rb
|
577
|
-
- spec/unit/mutant/expression_spec.rb
|
578
|
-
- spec/unit/mutant/integration/rspec_spec.rb
|
579
|
-
- spec/unit/mutant/integration_spec.rb
|
580
|
-
- spec/unit/mutant/isolation/fork_spec.rb
|
581
|
-
- spec/unit/mutant/isolation/none_spec.rb
|
582
|
-
- spec/unit/mutant/isolation/result_spec.rb
|
583
|
-
- spec/unit/mutant/license_spec.rb
|
584
|
-
- spec/unit/mutant/loader_spec.rb
|
585
|
-
- spec/unit/mutant/matcher/chain_spec.rb
|
586
|
-
- spec/unit/mutant/matcher/compiler_spec.rb
|
587
|
-
- spec/unit/mutant/matcher/config_spec.rb
|
588
|
-
- spec/unit/mutant/matcher/filter_spec.rb
|
589
|
-
- spec/unit/mutant/matcher/method/instance_spec.rb
|
590
|
-
- spec/unit/mutant/matcher/method/metaclass_spec.rb
|
591
|
-
- spec/unit/mutant/matcher/method/singleton_spec.rb
|
592
|
-
- spec/unit/mutant/matcher/methods/instance_spec.rb
|
593
|
-
- spec/unit/mutant/matcher/methods/metaclass_spec.rb
|
594
|
-
- spec/unit/mutant/matcher/methods/singleton_spec.rb
|
595
|
-
- spec/unit/mutant/matcher/namespace_spec.rb
|
596
|
-
- spec/unit/mutant/matcher/null_spec.rb
|
597
|
-
- spec/unit/mutant/matcher/scope_spec.rb
|
598
|
-
- spec/unit/mutant/matcher/static_spec.rb
|
599
|
-
- spec/unit/mutant/matcher_spec.rb
|
600
|
-
- spec/unit/mutant/meta/example/dsl_spec.rb
|
601
|
-
- spec/unit/mutant/meta/example/verification_spec.rb
|
602
|
-
- spec/unit/mutant/meta/example_spec.rb
|
603
|
-
- spec/unit/mutant/mutation_spec.rb
|
604
|
-
- spec/unit/mutant/mutator/node_spec.rb
|
605
|
-
- spec/unit/mutant/mutator_spec.rb
|
606
|
-
- spec/unit/mutant/parallel/driver_spec.rb
|
607
|
-
- spec/unit/mutant/parallel/source/array_spec.rb
|
608
|
-
- spec/unit/mutant/parallel/worker_spec.rb
|
609
|
-
- spec/unit/mutant/parallel_spec.rb
|
610
|
-
- spec/unit/mutant/parser_spec.rb
|
611
|
-
- spec/unit/mutant/range_spec.rb
|
612
|
-
- spec/unit/mutant/registry_spec.rb
|
613
|
-
- spec/unit/mutant/reporter/cli/printer/config_spec.rb
|
614
|
-
- spec/unit/mutant/reporter/cli/printer/env_progress_spec.rb
|
615
|
-
- spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
|
616
|
-
- spec/unit/mutant/reporter/cli/printer/isolation_result_spec.rb
|
617
|
-
- spec/unit/mutant/reporter/cli/printer/mutation_progress_result_spec.rb
|
618
|
-
- spec/unit/mutant/reporter/cli/printer/mutation_result_spec.rb
|
619
|
-
- spec/unit/mutant/reporter/cli/printer/status_progressive_spec.rb
|
620
|
-
- spec/unit/mutant/reporter/cli/printer/subject_progress_spec.rb
|
621
|
-
- spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb
|
622
|
-
- spec/unit/mutant/reporter/cli/printer/test_result_spec.rb
|
623
|
-
- spec/unit/mutant/reporter/cli/printer_spec.rb
|
624
|
-
- spec/unit/mutant/reporter/cli_spec.rb
|
625
|
-
- spec/unit/mutant/reporter/null_spec.rb
|
626
|
-
- spec/unit/mutant/reporter/sequence_spec.rb
|
627
|
-
- spec/unit/mutant/repository/diff/ranges_spec.rb
|
628
|
-
- spec/unit/mutant/repository/diff_spec.rb
|
629
|
-
- spec/unit/mutant/repository/subject_filter_spec.rb
|
630
|
-
- spec/unit/mutant/require_highjack_spec.rb
|
631
|
-
- spec/unit/mutant/result/class_methods_spec.rb
|
632
|
-
- spec/unit/mutant/result/env_spec.rb
|
633
|
-
- spec/unit/mutant/result/mutation_spec.rb
|
634
|
-
- spec/unit/mutant/result/subject_spec.rb
|
635
|
-
- spec/unit/mutant/result/test_spec.rb
|
636
|
-
- spec/unit/mutant/result_spec.rb
|
637
|
-
- spec/unit/mutant/runner/sink_spec.rb
|
638
|
-
- spec/unit/mutant/runner_spec.rb
|
639
|
-
- spec/unit/mutant/selector/expression_spec.rb
|
640
|
-
- spec/unit/mutant/selector/null_spec.rb
|
641
|
-
- spec/unit/mutant/subject/method/instance_spec.rb
|
642
|
-
- spec/unit/mutant/subject/method/metaclass_spec.rb
|
643
|
-
- spec/unit/mutant/subject/method/singleton_spec.rb
|
644
|
-
- spec/unit/mutant/subject_spec.rb
|
645
|
-
- spec/unit/mutant/transform/array_spec.rb
|
646
|
-
- spec/unit/mutant/transform/bool_spec.rb
|
647
|
-
- spec/unit/mutant/transform/error_spec.rb
|
648
|
-
- spec/unit/mutant/transform/exception_spec.rb
|
649
|
-
- spec/unit/mutant/transform/hash_spec.rb
|
650
|
-
- spec/unit/mutant/transform/index_spec.rb
|
651
|
-
- spec/unit/mutant/transform/named_spec.rb
|
652
|
-
- spec/unit/mutant/transform/primitive_spec.rb
|
653
|
-
- spec/unit/mutant/transform/sequence_spec.rb
|
654
|
-
- spec/unit/mutant/util/one_spec.rb
|
655
|
-
- spec/unit/mutant/warnings_spec.rb
|
656
|
-
- spec/unit/mutant/world_spec.rb
|
657
|
-
- spec/unit/mutant/zombifier_spec.rb
|
658
|
-
- test_app/.rspec
|
659
|
-
- test_app/Gemfile.minitest
|
660
|
-
- test_app/Gemfile.rspec3.8
|
661
|
-
- test_app/lib/test_app.rb
|
662
|
-
- test_app/lib/test_app/literal.rb
|
663
|
-
- test_app/lib/test_app/metaclasses.rb
|
664
|
-
- test_app/spec/spec_helper.rb
|
665
|
-
- test_app/spec/unit/test_app/literal_spec.rb
|
666
|
-
- test_app/test/unit/test_app/literal_test.rb
|
667
452
|
homepage: https://github.com/mbj/mutant
|
668
453
|
licenses:
|
669
454
|
- Nonstandard
|
@@ -687,110 +472,4 @@ rubygems_version: 3.0.3
|
|
687
472
|
signing_key:
|
688
473
|
specification_version: 4
|
689
474
|
summary: ''
|
690
|
-
test_files:
|
691
|
-
- spec/integration/mutant/corpus_spec.rb
|
692
|
-
- spec/integration/mutant/isolation/fork_spec.rb
|
693
|
-
- spec/integration/mutant/minitest_spec.rb
|
694
|
-
- spec/integration/mutant/null_spec.rb
|
695
|
-
- spec/integration/mutant/rspec_spec.rb
|
696
|
-
- spec/integration/mutant/test_mutator_handles_types_spec.rb
|
697
|
-
- spec/unit/mutant/ast/find_metaclass_containing_spec.rb
|
698
|
-
- spec/unit/mutant/ast/meta/optarg_spec.rb
|
699
|
-
- spec/unit/mutant/ast/meta/send/proc_predicate_spec.rb
|
700
|
-
- spec/unit/mutant/ast/meta/send/receiver_possible_top_level_const_predicate_spec.rb
|
701
|
-
- spec/unit/mutant/ast/meta/send_spec.rb
|
702
|
-
- spec/unit/mutant/ast/named_children_spec.rb
|
703
|
-
- spec/unit/mutant/ast/sexp_spec.rb
|
704
|
-
- spec/unit/mutant/ast_spec.rb
|
705
|
-
- spec/unit/mutant/bootstrap_spec.rb
|
706
|
-
- spec/unit/mutant/cli_spec.rb
|
707
|
-
- spec/unit/mutant/clock_monotonic_spec.rb
|
708
|
-
- spec/unit/mutant/config_spec.rb
|
709
|
-
- spec/unit/mutant/context_spec.rb
|
710
|
-
- spec/unit/mutant/env_spec.rb
|
711
|
-
- spec/unit/mutant/expression/method_spec.rb
|
712
|
-
- spec/unit/mutant/expression/methods_spec.rb
|
713
|
-
- spec/unit/mutant/expression/namespace/exact_spec.rb
|
714
|
-
- spec/unit/mutant/expression/namespace/recursive_spec.rb
|
715
|
-
- spec/unit/mutant/expression/parser_spec.rb
|
716
|
-
- spec/unit/mutant/expression_spec.rb
|
717
|
-
- spec/unit/mutant/integration/rspec_spec.rb
|
718
|
-
- spec/unit/mutant/integration_spec.rb
|
719
|
-
- spec/unit/mutant/isolation/fork_spec.rb
|
720
|
-
- spec/unit/mutant/isolation/none_spec.rb
|
721
|
-
- spec/unit/mutant/isolation/result_spec.rb
|
722
|
-
- spec/unit/mutant/license_spec.rb
|
723
|
-
- spec/unit/mutant/loader_spec.rb
|
724
|
-
- spec/unit/mutant/matcher/chain_spec.rb
|
725
|
-
- spec/unit/mutant/matcher/compiler_spec.rb
|
726
|
-
- spec/unit/mutant/matcher/config_spec.rb
|
727
|
-
- spec/unit/mutant/matcher/filter_spec.rb
|
728
|
-
- spec/unit/mutant/matcher/method/instance_spec.rb
|
729
|
-
- spec/unit/mutant/matcher/method/metaclass_spec.rb
|
730
|
-
- spec/unit/mutant/matcher/method/singleton_spec.rb
|
731
|
-
- spec/unit/mutant/matcher/methods/instance_spec.rb
|
732
|
-
- spec/unit/mutant/matcher/methods/metaclass_spec.rb
|
733
|
-
- spec/unit/mutant/matcher/methods/singleton_spec.rb
|
734
|
-
- spec/unit/mutant/matcher/namespace_spec.rb
|
735
|
-
- spec/unit/mutant/matcher/null_spec.rb
|
736
|
-
- spec/unit/mutant/matcher/scope_spec.rb
|
737
|
-
- spec/unit/mutant/matcher/static_spec.rb
|
738
|
-
- spec/unit/mutant/matcher_spec.rb
|
739
|
-
- spec/unit/mutant/meta/example/dsl_spec.rb
|
740
|
-
- spec/unit/mutant/meta/example/verification_spec.rb
|
741
|
-
- spec/unit/mutant/meta/example_spec.rb
|
742
|
-
- spec/unit/mutant/mutation_spec.rb
|
743
|
-
- spec/unit/mutant/mutator/node_spec.rb
|
744
|
-
- spec/unit/mutant/mutator_spec.rb
|
745
|
-
- spec/unit/mutant/parallel/driver_spec.rb
|
746
|
-
- spec/unit/mutant/parallel/source/array_spec.rb
|
747
|
-
- spec/unit/mutant/parallel/worker_spec.rb
|
748
|
-
- spec/unit/mutant/parallel_spec.rb
|
749
|
-
- spec/unit/mutant/parser_spec.rb
|
750
|
-
- spec/unit/mutant/range_spec.rb
|
751
|
-
- spec/unit/mutant/registry_spec.rb
|
752
|
-
- spec/unit/mutant/reporter/cli/printer/config_spec.rb
|
753
|
-
- spec/unit/mutant/reporter/cli/printer/env_progress_spec.rb
|
754
|
-
- spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
|
755
|
-
- spec/unit/mutant/reporter/cli/printer/isolation_result_spec.rb
|
756
|
-
- spec/unit/mutant/reporter/cli/printer/mutation_progress_result_spec.rb
|
757
|
-
- spec/unit/mutant/reporter/cli/printer/mutation_result_spec.rb
|
758
|
-
- spec/unit/mutant/reporter/cli/printer/status_progressive_spec.rb
|
759
|
-
- spec/unit/mutant/reporter/cli/printer/subject_progress_spec.rb
|
760
|
-
- spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb
|
761
|
-
- spec/unit/mutant/reporter/cli/printer/test_result_spec.rb
|
762
|
-
- spec/unit/mutant/reporter/cli/printer_spec.rb
|
763
|
-
- spec/unit/mutant/reporter/cli_spec.rb
|
764
|
-
- spec/unit/mutant/reporter/null_spec.rb
|
765
|
-
- spec/unit/mutant/reporter/sequence_spec.rb
|
766
|
-
- spec/unit/mutant/repository/diff/ranges_spec.rb
|
767
|
-
- spec/unit/mutant/repository/diff_spec.rb
|
768
|
-
- spec/unit/mutant/repository/subject_filter_spec.rb
|
769
|
-
- spec/unit/mutant/require_highjack_spec.rb
|
770
|
-
- spec/unit/mutant/result/class_methods_spec.rb
|
771
|
-
- spec/unit/mutant/result/env_spec.rb
|
772
|
-
- spec/unit/mutant/result/mutation_spec.rb
|
773
|
-
- spec/unit/mutant/result/subject_spec.rb
|
774
|
-
- spec/unit/mutant/result/test_spec.rb
|
775
|
-
- spec/unit/mutant/result_spec.rb
|
776
|
-
- spec/unit/mutant/runner/sink_spec.rb
|
777
|
-
- spec/unit/mutant/runner_spec.rb
|
778
|
-
- spec/unit/mutant/selector/expression_spec.rb
|
779
|
-
- spec/unit/mutant/selector/null_spec.rb
|
780
|
-
- spec/unit/mutant/subject/method/instance_spec.rb
|
781
|
-
- spec/unit/mutant/subject/method/metaclass_spec.rb
|
782
|
-
- spec/unit/mutant/subject/method/singleton_spec.rb
|
783
|
-
- spec/unit/mutant/subject_spec.rb
|
784
|
-
- spec/unit/mutant/transform/array_spec.rb
|
785
|
-
- spec/unit/mutant/transform/bool_spec.rb
|
786
|
-
- spec/unit/mutant/transform/error_spec.rb
|
787
|
-
- spec/unit/mutant/transform/exception_spec.rb
|
788
|
-
- spec/unit/mutant/transform/hash_spec.rb
|
789
|
-
- spec/unit/mutant/transform/index_spec.rb
|
790
|
-
- spec/unit/mutant/transform/named_spec.rb
|
791
|
-
- spec/unit/mutant/transform/primitive_spec.rb
|
792
|
-
- spec/unit/mutant/transform/sequence_spec.rb
|
793
|
-
- spec/unit/mutant/util/one_spec.rb
|
794
|
-
- spec/unit/mutant/warnings_spec.rb
|
795
|
-
- spec/unit/mutant/world_spec.rb
|
796
|
-
- spec/unit/mutant/zombifier_spec.rb
|
475
|
+
test_files: []
|