mutant 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mutant.rb +1 -0
  3. data/lib/mutant/isolation.rb +1 -1
  4. data/lib/mutant/isolation/fork.rb +2 -2
  5. data/lib/mutant/isolation/none.rb +1 -1
  6. data/lib/mutant/minitest/coverage.rb +53 -0
  7. data/lib/mutant/mutator/node/block_pass.rb +29 -0
  8. data/lib/mutant/mutator/node/noop.rb +1 -1
  9. data/lib/mutant/mutator/node/send.rb +24 -0
  10. data/lib/mutant/version.rb +1 -1
  11. metadata +5 -326
  12. data/.github/workflows/ci.yml +0 -121
  13. data/.gitignore +0 -38
  14. data/.rspec +0 -5
  15. data/.rubocop.yml +0 -210
  16. data/Changelog.md +0 -91
  17. data/Gemfile +0 -7
  18. data/Gemfile.lock +0 -107
  19. data/Gemfile.shared +0 -10
  20. data/README.md +0 -199
  21. data/Rakefile +0 -5
  22. data/config/devtools.yml +0 -2
  23. data/config/reek.yml +0 -139
  24. data/config/yardstick.yml +0 -2
  25. data/docs/commercial-support.md +0 -14
  26. data/docs/concurrency.md +0 -39
  27. data/docs/incremental.md +0 -76
  28. data/docs/known-problems.md +0 -30
  29. data/docs/limitations.md +0 -50
  30. data/docs/mutant-minitest.md +0 -149
  31. data/docs/mutant-rspec.md +0 -130
  32. data/docs/nomenclature.md +0 -82
  33. data/docs/reading-reports.md +0 -74
  34. data/meta/and.rb +0 -13
  35. data/meta/and_asgn.rb +0 -14
  36. data/meta/array.rb +0 -27
  37. data/meta/begin.rb +0 -20
  38. data/meta/block.rb +0 -199
  39. data/meta/block_pass.rb +0 -8
  40. data/meta/blockarg.rb +0 -10
  41. data/meta/break.rb +0 -9
  42. data/meta/case.rb +0 -217
  43. data/meta/casgn.rb +0 -25
  44. data/meta/cbase.rb +0 -8
  45. data/meta/class.rb +0 -12
  46. data/meta/const.rb +0 -17
  47. data/meta/csend.rb +0 -10
  48. data/meta/cvar.rb +0 -7
  49. data/meta/cvasgn.rb +0 -9
  50. data/meta/date.rb +0 -59
  51. data/meta/def.rb +0 -196
  52. data/meta/defined.rb +0 -9
  53. data/meta/dstr.rb +0 -13
  54. data/meta/dsym.rb +0 -14
  55. data/meta/ensure.rb +0 -8
  56. data/meta/false.rb +0 -7
  57. data/meta/file.rb +0 -5
  58. data/meta/float.rb +0 -37
  59. data/meta/gvar.rb +0 -7
  60. data/meta/gvasgn.rb +0 -9
  61. data/meta/hash.rb +0 -20
  62. data/meta/if.rb +0 -72
  63. data/meta/index.rb +0 -133
  64. data/meta/indexasgn.rb +0 -31
  65. data/meta/int.rb +0 -18
  66. data/meta/ivar.rb +0 -8
  67. data/meta/ivasgn.rb +0 -22
  68. data/meta/kwarg.rb +0 -10
  69. data/meta/kwbegin.rb +0 -8
  70. data/meta/kwoptarg.rb +0 -13
  71. data/meta/lambda.rb +0 -23
  72. data/meta/line.rb +0 -5
  73. data/meta/lvar.rb +0 -16
  74. data/meta/lvasgn.rb +0 -24
  75. data/meta/masgn.rb +0 -7
  76. data/meta/match_current_line.rb +0 -14
  77. data/meta/next.rb +0 -10
  78. data/meta/nil.rb +0 -5
  79. data/meta/nthref.rb +0 -14
  80. data/meta/op_assgn.rb +0 -17
  81. data/meta/or.rb +0 -13
  82. data/meta/or_asgn.rb +0 -50
  83. data/meta/range.rb +0 -63
  84. data/meta/redo.rb +0 -5
  85. data/meta/regexp.rb +0 -80
  86. data/meta/regopt.rb +0 -10
  87. data/meta/rescue.rb +0 -84
  88. data/meta/return.rb +0 -16
  89. data/meta/sclass.rb +0 -12
  90. data/meta/self.rb +0 -7
  91. data/meta/send.rb +0 -600
  92. data/meta/str.rb +0 -7
  93. data/meta/super.rb +0 -27
  94. data/meta/sym.rb +0 -8
  95. data/meta/true.rb +0 -7
  96. data/meta/until.rb +0 -16
  97. data/meta/while.rb +0 -24
  98. data/meta/yield.rb +0 -9
  99. data/mutant-minitest.gemspec +0 -22
  100. data/mutant-rspec.gemspec +0 -22
  101. data/mutant.gemspec +0 -44
  102. data/mutant.sh +0 -12
  103. data/mutant.yml +0 -6
  104. data/spec/integration/mutant/corpus_spec.rb +0 -15
  105. data/spec/integration/mutant/isolation/fork_spec.rb +0 -28
  106. data/spec/integration/mutant/minitest_spec.rb +0 -11
  107. data/spec/integration/mutant/null_spec.rb +0 -16
  108. data/spec/integration/mutant/rspec_spec.rb +0 -15
  109. data/spec/integration/mutant/test_mutator_handles_types_spec.rb +0 -9
  110. data/spec/integrations.yml +0 -63
  111. data/spec/shared/framework_integration_behavior.rb +0 -70
  112. data/spec/shared/method_matcher_behavior.rb +0 -47
  113. data/spec/spec_helper.rb +0 -90
  114. data/spec/support/corpus.rb +0 -318
  115. data/spec/support/file_system.rb +0 -62
  116. data/spec/support/ice_nine_config.rb +0 -10
  117. data/spec/support/ruby_vm.rb +0 -84
  118. data/spec/support/shared_context.rb +0 -169
  119. data/spec/support/xspec.rb +0 -183
  120. data/spec/unit/mutant/ast/find_metaclass_containing_spec.rb +0 -64
  121. data/spec/unit/mutant/ast/meta/optarg_spec.rb +0 -24
  122. data/spec/unit/mutant/ast/meta/send/proc_predicate_spec.rb +0 -30
  123. data/spec/unit/mutant/ast/meta/send/receiver_possible_top_level_const_predicate_spec.rb +0 -39
  124. data/spec/unit/mutant/ast/meta/send_spec.rb +0 -42
  125. data/spec/unit/mutant/ast/named_children_spec.rb +0 -89
  126. data/spec/unit/mutant/ast/sexp_spec.rb +0 -38
  127. data/spec/unit/mutant/ast_spec.rb +0 -57
  128. data/spec/unit/mutant/bootstrap_spec.rb +0 -216
  129. data/spec/unit/mutant/cli_spec.rb +0 -305
  130. data/spec/unit/mutant/clock_monotonic_spec.rb +0 -52
  131. data/spec/unit/mutant/config_spec.rb +0 -126
  132. data/spec/unit/mutant/context_spec.rb +0 -111
  133. data/spec/unit/mutant/env_spec.rb +0 -229
  134. data/spec/unit/mutant/expression/method_spec.rb +0 -62
  135. data/spec/unit/mutant/expression/methods_spec.rb +0 -66
  136. data/spec/unit/mutant/expression/namespace/exact_spec.rb +0 -28
  137. data/spec/unit/mutant/expression/namespace/recursive_spec.rb +0 -66
  138. data/spec/unit/mutant/expression/parser_spec.rb +0 -65
  139. data/spec/unit/mutant/expression_spec.rb +0 -45
  140. data/spec/unit/mutant/integration/rspec_spec.rb +0 -201
  141. data/spec/unit/mutant/integration_spec.rb +0 -150
  142. data/spec/unit/mutant/isolation/fork_spec.rb +0 -309
  143. data/spec/unit/mutant/isolation/none_spec.rb +0 -23
  144. data/spec/unit/mutant/isolation/result_spec.rb +0 -73
  145. data/spec/unit/mutant/license_spec.rb +0 -305
  146. data/spec/unit/mutant/loader_spec.rb +0 -79
  147. data/spec/unit/mutant/matcher/chain_spec.rb +0 -26
  148. data/spec/unit/mutant/matcher/compiler_spec.rb +0 -0
  149. data/spec/unit/mutant/matcher/config_spec.rb +0 -47
  150. data/spec/unit/mutant/matcher/filter_spec.rb +0 -22
  151. data/spec/unit/mutant/matcher/method/instance_spec.rb +0 -164
  152. data/spec/unit/mutant/matcher/method/metaclass_spec.rb +0 -108
  153. data/spec/unit/mutant/matcher/method/singleton_spec.rb +0 -90
  154. data/spec/unit/mutant/matcher/methods/instance_spec.rb +0 -54
  155. data/spec/unit/mutant/matcher/methods/metaclass_spec.rb +0 -62
  156. data/spec/unit/mutant/matcher/methods/singleton_spec.rb +0 -51
  157. data/spec/unit/mutant/matcher/namespace_spec.rb +0 -39
  158. data/spec/unit/mutant/matcher/null_spec.rb +0 -12
  159. data/spec/unit/mutant/matcher/scope_spec.rb +0 -45
  160. data/spec/unit/mutant/matcher/static_spec.rb +0 -13
  161. data/spec/unit/mutant/matcher_spec.rb +0 -102
  162. data/spec/unit/mutant/meta/example/dsl_spec.rb +0 -108
  163. data/spec/unit/mutant/meta/example/verification_spec.rb +0 -154
  164. data/spec/unit/mutant/meta/example_spec.rb +0 -34
  165. data/spec/unit/mutant/mutation_spec.rb +0 -140
  166. data/spec/unit/mutant/mutator/node_spec.rb +0 -47
  167. data/spec/unit/mutant/mutator_spec.rb +0 -21
  168. data/spec/unit/mutant/parallel/driver_spec.rb +0 -126
  169. data/spec/unit/mutant/parallel/source/array_spec.rb +0 -57
  170. data/spec/unit/mutant/parallel/worker_spec.rb +0 -206
  171. data/spec/unit/mutant/parallel_spec.rb +0 -115
  172. data/spec/unit/mutant/parser_spec.rb +0 -26
  173. data/spec/unit/mutant/range_spec.rb +0 -141
  174. data/spec/unit/mutant/registry_spec.rb +0 -74
  175. data/spec/unit/mutant/reporter/cli/printer/config_spec.rb +0 -17
  176. data/spec/unit/mutant/reporter/cli/printer/env_progress_spec.rb +0 -85
  177. data/spec/unit/mutant/reporter/cli/printer/env_result_spec.rb +0 -45
  178. data/spec/unit/mutant/reporter/cli/printer/isolation_result_spec.rb +0 -132
  179. data/spec/unit/mutant/reporter/cli/printer/mutation_progress_result_spec.rb +0 -25
  180. data/spec/unit/mutant/reporter/cli/printer/mutation_result_spec.rb +0 -153
  181. data/spec/unit/mutant/reporter/cli/printer/status_progressive_spec.rb +0 -45
  182. data/spec/unit/mutant/reporter/cli/printer/subject_progress_spec.rb +0 -36
  183. data/spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb +0 -44
  184. data/spec/unit/mutant/reporter/cli/printer/test_result_spec.rb +0 -16
  185. data/spec/unit/mutant/reporter/cli/printer_spec.rb +0 -163
  186. data/spec/unit/mutant/reporter/cli_spec.rb +0 -137
  187. data/spec/unit/mutant/reporter/null_spec.rb +0 -14
  188. data/spec/unit/mutant/reporter/sequence_spec.rb +0 -31
  189. data/spec/unit/mutant/repository/diff/ranges_spec.rb +0 -180
  190. data/spec/unit/mutant/repository/diff_spec.rb +0 -122
  191. data/spec/unit/mutant/repository/subject_filter_spec.rb +0 -30
  192. data/spec/unit/mutant/require_highjack_spec.rb +0 -73
  193. data/spec/unit/mutant/result/class_methods_spec.rb +0 -51
  194. data/spec/unit/mutant/result/env_spec.rb +0 -161
  195. data/spec/unit/mutant/result/mutation_spec.rb +0 -70
  196. data/spec/unit/mutant/result/subject_spec.rb +0 -111
  197. data/spec/unit/mutant/result/test_spec.rb +0 -14
  198. data/spec/unit/mutant/result_spec.rb +0 -33
  199. data/spec/unit/mutant/runner/sink_spec.rb +0 -174
  200. data/spec/unit/mutant/runner_spec.rb +0 -121
  201. data/spec/unit/mutant/selector/expression_spec.rb +0 -62
  202. data/spec/unit/mutant/selector/null_spec.rb +0 -17
  203. data/spec/unit/mutant/subject/method/instance_spec.rb +0 -276
  204. data/spec/unit/mutant/subject/method/metaclass_spec.rb +0 -63
  205. data/spec/unit/mutant/subject/method/singleton_spec.rb +0 -61
  206. data/spec/unit/mutant/subject_spec.rb +0 -93
  207. data/spec/unit/mutant/transform/array_spec.rb +0 -92
  208. data/spec/unit/mutant/transform/bool_spec.rb +0 -63
  209. data/spec/unit/mutant/transform/error_spec.rb +0 -132
  210. data/spec/unit/mutant/transform/exception_spec.rb +0 -44
  211. data/spec/unit/mutant/transform/hash_spec.rb +0 -236
  212. data/spec/unit/mutant/transform/index_spec.rb +0 -92
  213. data/spec/unit/mutant/transform/named_spec.rb +0 -49
  214. data/spec/unit/mutant/transform/primitive_spec.rb +0 -56
  215. data/spec/unit/mutant/transform/sequence_spec.rb +0 -98
  216. data/spec/unit/mutant/util/one_spec.rb +0 -22
  217. data/spec/unit/mutant/warnings_spec.rb +0 -89
  218. data/spec/unit/mutant/world_spec.rb +0 -63
  219. data/spec/unit/mutant/zombifier_spec.rb +0 -122
  220. data/test_app/.rspec +0 -1
  221. data/test_app/Gemfile.minitest +0 -6
  222. data/test_app/Gemfile.rspec3.8 +0 -7
  223. data/test_app/lib/test_app.rb +0 -114
  224. data/test_app/lib/test_app/literal.rb +0 -35
  225. data/test_app/lib/test_app/metaclasses.rb +0 -108
  226. data/test_app/spec/spec_helper.rb +0 -9
  227. data/test_app/spec/unit/test_app/literal_spec.rb +0 -20
  228. 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: 5cc24215454715aa8d55ed5f972ca4b5ab6c297bccf35e64834f73de7cc914f0
4
- data.tar.gz: c7b524c6eaa3fe49cce08b1b6ba9c94d379f090f6b75cc6ca38450fed46f101b
3
+ metadata.gz: 71f2d39499ffdc3adced885c60b9b22220e409f360fce5ab8ac0aaeb36bdbda3
4
+ data.tar.gz: dee6aa26ddce9e06949566dfc75d4daf295ec76ea46903af80b0ac4027f338ac
5
5
  SHA512:
6
- metadata.gz: d79ce339c29ff4b9ec958e9405281086d1a56daa515a2b154d593ef98338373b6bcbda48f1a4ce924a186d3bcdbff6f4775b46e279da3aa39b1dc8e00525d097
7
- data.tar.gz: 1d69b7b466b6004461e9a6cd862a3c211a3e9b17bb36ddd4e00e6b8fffb32d4b0b4f2f9dbff9cc8819b342682eb564d5f07fc7de1b742b15f14a9575ef5fe4e2
6
+ metadata.gz: e6a44765e6fec377e0f4d9e3047832468af386b34f5d7a231fb940802a97977bba6000b016ca6739f402314bf03027dd8852776ff1ee687d6e67fb6168d5416a
7
+ data.tar.gz: 9d696a03e4a86c8838fa73ab147a75dac9f8f14b1f20eef653b30a3758c4044f016f4444f94827738d6bd39d05fdd9cddafdcfbd2a6475c2ebbc8674f005738d
@@ -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'
@@ -40,7 +40,7 @@ module Mutant
40
40
  instance_of?(Success)
41
41
  end
42
42
 
43
- # Succesful result producing value
43
+ # Successful result producing value
44
44
  class Success < self
45
45
  include Concord::Public.new(:value, :log)
46
46
 
@@ -10,12 +10,12 @@ module Mutant
10
10
 
11
11
  ATTRIBUTES = %i[block log_pipe result_pipe world].freeze
12
12
 
13
- # Unsucessful result as child exited nonzero
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
- # Unsucessful result as fork failed
18
+ # Unsuccessful result as fork failed
19
19
  class ForkError < Result
20
20
  include Equalizer.new
21
21
  end # ForkError
@@ -3,7 +3,7 @@
3
3
  module Mutant
4
4
  # Module providing isolation
5
5
  class Isolation
6
- # Absolutly no isolation
6
+ # Absolutely no isolation
7
7
  #
8
8
  # Only useful for debugging.
9
9
  class None < self
@@ -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
@@ -7,7 +7,7 @@ module Mutant
7
7
  # Mutation emitter to handle noop nodes
8
8
  class Noop < self
9
9
 
10
- handle(:__ENCODING__, :block_pass, :cbase, :lambda)
10
+ handle(:__ENCODING__, :cbase, :lambda)
11
11
 
12
12
  private
13
13
 
@@ -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
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mutant
4
4
  # Current mutant version
5
- VERSION = '0.9.11'
5
+ VERSION = '0.9.12'
6
6
  end # Mutant
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.11
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-08-25 00:00:00.000000000 Z
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: []