mutant 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +9 -0
- data/Gemfile +4 -6
- data/Gemfile.devtools +65 -0
- data/Rakefile +2 -2
- data/config/devtools.yml +2 -0
- data/config/flay.yml +1 -1
- data/config/rubocop.yml +8 -9
- data/lib/mutant.rb +26 -3
- data/lib/mutant/cli/builder.rb +0 -11
- data/lib/mutant/constants.rb +12 -18
- data/lib/mutant/loader.rb +7 -16
- data/lib/mutant/mutation.rb +1 -1
- data/lib/mutant/mutator/node/binary.rb +58 -0
- data/lib/mutant/mutator/node/{while.rb → conditional_loop.rb} +2 -2
- data/lib/mutant/mutator/node/generic.rb +2 -1
- data/lib/mutant/node_helpers.rb +1 -1
- data/lib/mutant/version.rb +1 -1
- data/lib/mutant/zombifier.rb +2 -1
- data/mutant.gemspec +4 -3
- data/spec/integration/mutant/test_mutator_handles_types_spec.rb +1 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/unit/mutant/cli/classifier/method_spec.rb +1 -1
- data/spec/unit/mutant/cli/classifier/namespace/flat_spec.rb +2 -2
- data/spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb +2 -2
- data/spec/unit/mutant/differ_spec.rb +42 -0
- data/spec/unit/mutant/killer/{rspec/class_methods/new_spec.rb → rspec_spec.rb} +0 -0
- data/spec/unit/mutant/loader/{eval/class_methods/run_spec.rb → eval_spec.rb} +2 -2
- data/spec/unit/mutant/matcher/chain_spec.rb +57 -0
- data/spec/unit/mutant/matcher/method/instance_spec.rb +155 -0
- data/spec/unit/mutant/matcher/method/{singleton/each_spec.rb → singleton_spec.rb} +0 -0
- data/spec/unit/mutant/matcher/methods/{instance/each_spec.rb → instance_spec.rb} +0 -0
- data/spec/unit/mutant/matcher/methods/{singleton/each_spec.rb → singleton_spec.rb} +0 -0
- data/spec/unit/mutant/matcher/{namespace/each_spec.rb → namespace_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{and_asgn/mutation_spec.rb → and_asgn_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{begin/mutation_spec.rb → begin_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{connective/binary/mutation_spec.rb → binary_spec.rb} +1 -1
- data/spec/unit/mutant/mutator/node/{block_pass/mutation_spec.rb → block_pass_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{block/mutation_spec.rb → block_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{blockarg/mutation_spec.rb → blockarg_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{case/mutation_spec.rb → case_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{cbase/mutation_spec.rb → cbase_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/conditional_loop_spec.rb +42 -0
- data/spec/unit/mutant/mutator/node/{const/mutation_spec.rb → const_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{define/mutation_spec.rb → define_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{defined_predicate/mutation_spec.rb → defined_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{dstr/mutation_spec.rb → dstr_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{dsym/mutation_spec.rb → dsym_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{ensure/mutation_spec.rb → ensure_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{if/mutation_spec.rb → if_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{kwbegin/mutation_spec.rb → kwbegin_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/literal/{boolean/mutation_spec.rb → boolean_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{masgn/mutation_spec.rb → masgn_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{match_current_line/mutation_spec.rb → match_current_line_spec.rb} +1 -1
- data/spec/unit/mutant/mutator/node/named_value/{access/mutation_spec.rb → access_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/named_value/{constant_assignment/mutation_spec.rb → constant_assignment_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/named_value/{variable_assignment/mutation_spec.rb → variable_assignment_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{nthref/mutation_spec.rb → nthref_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{op_assgn/mutation_spec.rb → op_assgn_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{or_asgn/mutation_spec.rb → or_asgn_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{redo/mutation_spec.rb → redo_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{rescue/mutation_spec.rb → rescue_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{restarg/mutation_spec.rb → restarg_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{return/mutation_spec.rb → return_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{send/mutation_spec.rb → send_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{super/mutation_spec.rb → super_spec.rb} +0 -0
- data/spec/unit/mutant/mutator/node/{yield/mutation_spec.rb → yield_spec.rb} +0 -0
- data/spec/unit/mutant/mutator_spec.rb +29 -0
- data/spec/unit/mutant/runner/config_spec.rb +88 -0
- data/spec/unit/mutant/runner/{subject/success_predicate_spec.rb → subject_spec.rb} +0 -0
- data/spec/unit/mutant_spec.rb +43 -0
- data/test_app/Gemfile.devtools +65 -0
- metadata +119 -119
- data/lib/mutant/mutator/node/connective/binary.rb +0 -61
- data/lib/mutant/support/method_object.rb +0 -34
- data/spec/unit/mutant/class_methods/singleton_subclass_instance_spec.rb +0 -41
- data/spec/unit/mutant/differ/class_methods/build_spec.rb +0 -14
- data/spec/unit/mutant/differ/class_methods/colorize_line_spec.rb +0 -27
- data/spec/unit/mutant/matcher/chain/each_spec.rb +0 -43
- data/spec/unit/mutant/matcher/chain/matchers_spec.rb +0 -14
- data/spec/unit/mutant/matcher/each_spec.rb +0 -21
- data/spec/unit/mutant/matcher/method/instance/class_methods/build_spec.rb +0 -42
- data/spec/unit/mutant/matcher/method/instance/each_spec.rb +0 -114
- data/spec/unit/mutant/mutator/each_spec.rb +0 -27
- data/spec/unit/mutant/mutator/emit_new_spec.rb +0 -59
- data/spec/unit/mutant/mutator/emit_spec.rb +0 -55
- data/spec/unit/mutant/mutator/node/while/mutation_spec.rb +0 -24
- data/spec/unit/mutant/node_helpers/n_not_spec.rb +0 -14
- data/spec/unit/mutant/runner/config/subjects_spec.rb +0 -52
- data/spec/unit/mutant/runner/config/success_predicate_spec.rb +0 -57
File without changes
|
File without changes
|
@@ -12,7 +12,7 @@ describe Mutant::Mutator::Node::Generic, 'match_current_line' do
|
|
12
12
|
mutations << 'true if true'
|
13
13
|
mutations << 'true if false'
|
14
14
|
mutations << 'true if nil'
|
15
|
-
mutations << 'true if
|
15
|
+
mutations << 'true if !(//)'
|
16
16
|
mutations << 'true if /a\A/'
|
17
17
|
mutations << 'nil'
|
18
18
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
# This file is the sandbox for new mutations.
|
4
|
+
# Once finished mutation test will be moved to class specfic
|
5
|
+
# file.
|
6
|
+
|
7
|
+
require 'spec_helper'
|
8
|
+
|
9
|
+
describe Mutant::Mutator do
|
10
|
+
describe '.each' do
|
11
|
+
|
12
|
+
pending 'interpolated string literal (DynamicString)' do
|
13
|
+
let(:source) { '"foo#{1}bar"' }
|
14
|
+
|
15
|
+
let(:random_string) { 'this-is-random' }
|
16
|
+
|
17
|
+
let(:mutations) do
|
18
|
+
mutations = []
|
19
|
+
mutations << 'nil'
|
20
|
+
end
|
21
|
+
|
22
|
+
before do
|
23
|
+
Mutant::Random.stub(hex_string: random_string)
|
24
|
+
end
|
25
|
+
|
26
|
+
it_should_behave_like 'a mutator'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Mutant::Runner::Config do
|
6
|
+
|
7
|
+
let(:config) do
|
8
|
+
double(
|
9
|
+
'Config',
|
10
|
+
class: Mutant::Config,
|
11
|
+
subjects: [subject_a, subject_b],
|
12
|
+
strategy: strategy,
|
13
|
+
reporter: reporter
|
14
|
+
)
|
15
|
+
end
|
16
|
+
|
17
|
+
before do
|
18
|
+
reporter.stub(report: reporter)
|
19
|
+
strategy.stub(:setup)
|
20
|
+
strategy.stub(:teardown)
|
21
|
+
Mutant::Runner.stub(:run).with(config, subject_a).and_return(runner_a)
|
22
|
+
Mutant::Runner.stub(:run).with(config, subject_b).and_return(runner_b)
|
23
|
+
end
|
24
|
+
|
25
|
+
let(:reporter) { double('Reporter') }
|
26
|
+
let(:strategy) { double('Strategy') }
|
27
|
+
let(:subject_a) { double('Subject A') }
|
28
|
+
let(:subject_b) { double('Subject B') }
|
29
|
+
|
30
|
+
describe '#subjects' do
|
31
|
+
let(:object) { described_class.run(config) }
|
32
|
+
|
33
|
+
subject { object.subjects }
|
34
|
+
|
35
|
+
let(:runner_a) { double('Runner A', stop?: stop_a) }
|
36
|
+
let(:runner_b) { double('Runner B', stop?: stop_b) }
|
37
|
+
|
38
|
+
context 'without early stop' do
|
39
|
+
let(:stop_a) { false }
|
40
|
+
let(:stop_b) { false }
|
41
|
+
|
42
|
+
it { should eql([runner_a, runner_b]) }
|
43
|
+
|
44
|
+
it_should_behave_like 'an idempotent method'
|
45
|
+
end
|
46
|
+
|
47
|
+
context 'with early stop' do
|
48
|
+
let(:stop_a) { true }
|
49
|
+
let(:stop_b) { false }
|
50
|
+
|
51
|
+
it { should eql([runner_a]) }
|
52
|
+
|
53
|
+
it_should_behave_like 'an idempotent method'
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe '#success?' do
|
58
|
+
subject { object.success? }
|
59
|
+
|
60
|
+
let(:object) { described_class.new(config) }
|
61
|
+
|
62
|
+
let(:runner_a) do
|
63
|
+
double('Runner A', stop?: stop_a, success?: success_a)
|
64
|
+
end
|
65
|
+
|
66
|
+
let(:runner_b) do
|
67
|
+
double('Runner B', stop?: stop_b, success?: success_b)
|
68
|
+
end
|
69
|
+
|
70
|
+
context 'without failed subjects' do
|
71
|
+
let(:stop_a) { false }
|
72
|
+
let(:stop_b) { false }
|
73
|
+
let(:success_a) { true }
|
74
|
+
let(:success_b) { true }
|
75
|
+
|
76
|
+
it { should be(true) }
|
77
|
+
end
|
78
|
+
|
79
|
+
context 'with failing subjects' do
|
80
|
+
let(:stop_a) { false }
|
81
|
+
let(:stop_b) { false }
|
82
|
+
let(:success_a) { false }
|
83
|
+
let(:success_b) { true }
|
84
|
+
|
85
|
+
it { should be(false) }
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
File without changes
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Mutant do
|
6
|
+
describe '.singleton_subclass_instance' do
|
7
|
+
let(:object) { described_class }
|
8
|
+
|
9
|
+
subject { object.singleton_subclass_instance(name, superclass, &block) }
|
10
|
+
|
11
|
+
before do
|
12
|
+
subject
|
13
|
+
end
|
14
|
+
|
15
|
+
let(:name) { 'Test' }
|
16
|
+
let(:block) { proc { def foo; end } }
|
17
|
+
let(:superclass) { Class.new }
|
18
|
+
|
19
|
+
let(:generated) { superclass.const_get(:Test) }
|
20
|
+
|
21
|
+
it_should_behave_like 'a command method'
|
22
|
+
|
23
|
+
it 'sets expected name' do
|
24
|
+
name = generated.class.name
|
25
|
+
name.should eql("::#{self.name}")
|
26
|
+
name.should be_frozen
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'stores instance of subclass' do
|
30
|
+
generated.should be_kind_of(superclass)
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'evaluates the context of proc inside subclass' do
|
34
|
+
generated.should respond_to(:foo)
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'generates nice #inspect' do
|
38
|
+
inspect = generated.inspect
|
39
|
+
inspect.should eql("::#{self.name}")
|
40
|
+
inspect.should be_frozen
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
group :development do
|
4
|
+
gem 'rake', '~> 10.1.0'
|
5
|
+
gem 'rspec', '~> 2.14.1'
|
6
|
+
gem 'yard', '~> 0.8.7'
|
7
|
+
|
8
|
+
platform :rbx do
|
9
|
+
gem 'rubysl-singleton', '~> 2.0.0'
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
group :yard do
|
14
|
+
gem 'kramdown', '~> 1.3.0'
|
15
|
+
end
|
16
|
+
|
17
|
+
group :guard do
|
18
|
+
gem 'guard', '~> 2.2.4'
|
19
|
+
gem 'guard-bundler', '~> 2.0.0'
|
20
|
+
gem 'guard-rspec', '~> 4.2.0'
|
21
|
+
gem 'guard-rubocop', '~> 1.0.0'
|
22
|
+
|
23
|
+
# file system change event handling
|
24
|
+
gem 'listen', '~> 2.4.0'
|
25
|
+
gem 'rb-fchange', '~> 0.0.6', require: false
|
26
|
+
gem 'rb-fsevent', '~> 0.9.3', require: false
|
27
|
+
gem 'rb-inotify', '~> 0.9.0', require: false
|
28
|
+
|
29
|
+
# notification handling
|
30
|
+
gem 'libnotify', '~> 0.8.0', require: false
|
31
|
+
gem 'rb-notifu', '~> 0.0.4', require: false
|
32
|
+
gem 'terminal-notifier-guard', '~> 1.5.3', require: false
|
33
|
+
end
|
34
|
+
|
35
|
+
group :metrics do
|
36
|
+
gem 'coveralls', '~> 0.7.0'
|
37
|
+
gem 'flay', '~> 2.4.0'
|
38
|
+
gem 'flog', '~> 4.2.0'
|
39
|
+
gem 'reek', '~> 1.3.2'
|
40
|
+
gem 'rubocop', '~> 0.16.0'
|
41
|
+
gem 'simplecov', '~> 0.8.2'
|
42
|
+
gem 'yardstick', '~> 0.9.7', git: 'https://github.com/dkubb/yardstick.git'
|
43
|
+
|
44
|
+
platforms :ruby_19, :ruby_20 do
|
45
|
+
gem 'yard-spellcheck', '~> 0.1.5'
|
46
|
+
end
|
47
|
+
|
48
|
+
platform :rbx do
|
49
|
+
gem 'json', '~> 1.8.1'
|
50
|
+
gem 'racc', '~> 1.4.10'
|
51
|
+
gem 'rubysl-logger', '~> 2.0.0'
|
52
|
+
gem 'rubysl-open-uri', '~> 2.0.0'
|
53
|
+
gem 'rubysl-prettyprint', '~> 2.0.2'
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
group :benchmarks do
|
58
|
+
gem 'rbench', '~> 0.2.3'
|
59
|
+
end
|
60
|
+
|
61
|
+
platform :jruby do
|
62
|
+
group :jruby do
|
63
|
+
gem 'jruby-openssl', '~> 0.8.5'
|
64
|
+
end
|
65
|
+
end
|
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.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parser
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: procto
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.0.2
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: abstract_type
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +58,14 @@ dependencies:
|
|
44
58
|
requirements:
|
45
59
|
- - ~>
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
61
|
+
version: 0.1.6
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - ~>
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
68
|
+
version: 0.1.6
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: ice_nine
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +100,14 @@ dependencies:
|
|
86
100
|
requirements:
|
87
101
|
- - ~>
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.1
|
103
|
+
version: '0.1'
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - ~>
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.1
|
110
|
+
version: '0.1'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: equalizer
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,6 +214,7 @@ files:
|
|
200
214
|
- .travis.yml
|
201
215
|
- Changelog.md
|
202
216
|
- Gemfile
|
217
|
+
- Gemfile.devtools
|
203
218
|
- Gemfile.triage
|
204
219
|
- Guardfile
|
205
220
|
- LICENSE
|
@@ -208,6 +223,7 @@ files:
|
|
208
223
|
- TODO
|
209
224
|
- bin/mutant
|
210
225
|
- circle.yml
|
226
|
+
- config/devtools.yml
|
211
227
|
- config/flay.yml
|
212
228
|
- config/flog.yml
|
213
229
|
- config/mutant.yml
|
@@ -252,10 +268,11 @@ files:
|
|
252
268
|
- lib/mutant/mutator/node/argument.rb
|
253
269
|
- lib/mutant/mutator/node/arguments.rb
|
254
270
|
- lib/mutant/mutator/node/begin.rb
|
271
|
+
- lib/mutant/mutator/node/binary.rb
|
255
272
|
- lib/mutant/mutator/node/block.rb
|
256
273
|
- lib/mutant/mutator/node/blockarg.rb
|
257
274
|
- lib/mutant/mutator/node/case.rb
|
258
|
-
- lib/mutant/mutator/node/
|
275
|
+
- lib/mutant/mutator/node/conditional_loop.rb
|
259
276
|
- lib/mutant/mutator/node/const.rb
|
260
277
|
- lib/mutant/mutator/node/define.rb
|
261
278
|
- lib/mutant/mutator/node/dstr.rb
|
@@ -292,7 +309,6 @@ files:
|
|
292
309
|
- lib/mutant/mutator/node/splat.rb
|
293
310
|
- lib/mutant/mutator/node/super.rb
|
294
311
|
- lib/mutant/mutator/node/when.rb
|
295
|
-
- lib/mutant/mutator/node/while.rb
|
296
312
|
- lib/mutant/mutator/node/yield.rb
|
297
313
|
- lib/mutant/mutator/node/zsuper.rb
|
298
314
|
- lib/mutant/mutator/registry.rb
|
@@ -325,7 +341,6 @@ files:
|
|
325
341
|
- lib/mutant/subject/method.rb
|
326
342
|
- lib/mutant/subject/method/instance.rb
|
327
343
|
- lib/mutant/subject/method/singleton.rb
|
328
|
-
- lib/mutant/support/method_object.rb
|
329
344
|
- lib/mutant/version.rb
|
330
345
|
- lib/mutant/zombifier.rb
|
331
346
|
- mutant.gemspec
|
@@ -340,7 +355,6 @@ files:
|
|
340
355
|
- spec/support/ice_nine_config.rb
|
341
356
|
- spec/support/rspec.rb
|
342
357
|
- spec/support/test_app.rb
|
343
|
-
- spec/unit/mutant/class_methods/singleton_subclass_instance_spec.rb
|
344
358
|
- spec/unit/mutant/cli/builder/rspec_spec.rb
|
345
359
|
- spec/unit/mutant/cli/classifier/method_spec.rb
|
346
360
|
- spec/unit/mutant/cli/classifier/namespace/flat_spec.rb
|
@@ -351,44 +365,38 @@ files:
|
|
351
365
|
- spec/unit/mutant/context/root_spec.rb
|
352
366
|
- spec/unit/mutant/context/scope/root_spec.rb
|
353
367
|
- spec/unit/mutant/context/scope/unqualified_name_spec.rb
|
354
|
-
- spec/unit/mutant/differ/class_methods/build_spec.rb
|
355
|
-
- spec/unit/mutant/differ/class_methods/colorize_line_spec.rb
|
356
368
|
- spec/unit/mutant/differ/diff_spec.rb
|
357
|
-
- spec/unit/mutant/
|
369
|
+
- spec/unit/mutant/differ_spec.rb
|
370
|
+
- spec/unit/mutant/killer/rspec_spec.rb
|
358
371
|
- spec/unit/mutant/killer/success_predicate_spec.rb
|
359
|
-
- spec/unit/mutant/loader/
|
360
|
-
- spec/unit/mutant/matcher/
|
361
|
-
- spec/unit/mutant/matcher/chain/matchers_spec.rb
|
362
|
-
- spec/unit/mutant/matcher/each_spec.rb
|
372
|
+
- spec/unit/mutant/loader/eval_spec.rb
|
373
|
+
- spec/unit/mutant/matcher/chain_spec.rb
|
363
374
|
- spec/unit/mutant/matcher/filter_spec.rb
|
364
|
-
- spec/unit/mutant/matcher/method/
|
365
|
-
- spec/unit/mutant/matcher/method/
|
366
|
-
- spec/unit/mutant/matcher/
|
367
|
-
- spec/unit/mutant/matcher/methods/
|
368
|
-
- spec/unit/mutant/matcher/
|
369
|
-
- spec/unit/mutant/matcher/namespace/each_spec.rb
|
375
|
+
- spec/unit/mutant/matcher/method/instance_spec.rb
|
376
|
+
- spec/unit/mutant/matcher/method/singleton_spec.rb
|
377
|
+
- spec/unit/mutant/matcher/methods/instance_spec.rb
|
378
|
+
- spec/unit/mutant/matcher/methods/singleton_spec.rb
|
379
|
+
- spec/unit/mutant/matcher/namespace_spec.rb
|
370
380
|
- spec/unit/mutant/mutation_spec.rb
|
371
|
-
- spec/unit/mutant/mutator/
|
372
|
-
- spec/unit/mutant/mutator/
|
373
|
-
- spec/unit/mutant/mutator/
|
374
|
-
- spec/unit/mutant/mutator/node/
|
375
|
-
- spec/unit/mutant/mutator/node/
|
376
|
-
- spec/unit/mutant/mutator/node/
|
377
|
-
- spec/unit/mutant/mutator/node/
|
378
|
-
- spec/unit/mutant/mutator/node/
|
379
|
-
- spec/unit/mutant/mutator/node/
|
380
|
-
- spec/unit/mutant/mutator/node/
|
381
|
-
- spec/unit/mutant/mutator/node/
|
382
|
-
- spec/unit/mutant/mutator/node/
|
383
|
-
- spec/unit/mutant/mutator/node/
|
384
|
-
- spec/unit/mutant/mutator/node/
|
385
|
-
- spec/unit/mutant/mutator/node/
|
386
|
-
- spec/unit/mutant/mutator/node/
|
387
|
-
- spec/unit/mutant/mutator/node/
|
388
|
-
- spec/unit/mutant/mutator/node/if/mutation_spec.rb
|
389
|
-
- spec/unit/mutant/mutator/node/kwbegin/mutation_spec.rb
|
381
|
+
- spec/unit/mutant/mutator/node/and_asgn_spec.rb
|
382
|
+
- spec/unit/mutant/mutator/node/begin_spec.rb
|
383
|
+
- spec/unit/mutant/mutator/node/binary_spec.rb
|
384
|
+
- spec/unit/mutant/mutator/node/block_pass_spec.rb
|
385
|
+
- spec/unit/mutant/mutator/node/block_spec.rb
|
386
|
+
- spec/unit/mutant/mutator/node/blockarg_spec.rb
|
387
|
+
- spec/unit/mutant/mutator/node/case_spec.rb
|
388
|
+
- spec/unit/mutant/mutator/node/cbase_spec.rb
|
389
|
+
- spec/unit/mutant/mutator/node/conditional_loop_spec.rb
|
390
|
+
- spec/unit/mutant/mutator/node/const_spec.rb
|
391
|
+
- spec/unit/mutant/mutator/node/define_spec.rb
|
392
|
+
- spec/unit/mutant/mutator/node/defined_spec.rb
|
393
|
+
- spec/unit/mutant/mutator/node/dstr_spec.rb
|
394
|
+
- spec/unit/mutant/mutator/node/dsym_spec.rb
|
395
|
+
- spec/unit/mutant/mutator/node/ensure_spec.rb
|
396
|
+
- spec/unit/mutant/mutator/node/if_spec.rb
|
397
|
+
- spec/unit/mutant/mutator/node/kwbegin_spec.rb
|
390
398
|
- spec/unit/mutant/mutator/node/literal/array_spec.rb
|
391
|
-
- spec/unit/mutant/mutator/node/literal/
|
399
|
+
- spec/unit/mutant/mutator/node/literal/boolean_spec.rb
|
392
400
|
- spec/unit/mutant/mutator/node/literal/fixnum_spec.rb
|
393
401
|
- spec/unit/mutant/mutator/node/literal/float_spec.rb
|
394
402
|
- spec/unit/mutant/mutator/node/literal/hash_spec.rb
|
@@ -398,35 +406,35 @@ files:
|
|
398
406
|
- spec/unit/mutant/mutator/node/literal/string_spec.rb
|
399
407
|
- spec/unit/mutant/mutator/node/literal/symbol_spec.rb
|
400
408
|
- spec/unit/mutant/mutator/node/loop_ctrl_spec.rb
|
401
|
-
- spec/unit/mutant/mutator/node/
|
402
|
-
- spec/unit/mutant/mutator/node/
|
403
|
-
- spec/unit/mutant/mutator/node/named_value/
|
404
|
-
- spec/unit/mutant/mutator/node/named_value/
|
405
|
-
- spec/unit/mutant/mutator/node/named_value/
|
406
|
-
- spec/unit/mutant/mutator/node/
|
407
|
-
- spec/unit/mutant/mutator/node/
|
408
|
-
- spec/unit/mutant/mutator/node/
|
409
|
-
- spec/unit/mutant/mutator/node/
|
410
|
-
- spec/unit/mutant/mutator/node/
|
411
|
-
- spec/unit/mutant/mutator/node/
|
412
|
-
- spec/unit/mutant/mutator/node/
|
413
|
-
- spec/unit/mutant/mutator/node/
|
414
|
-
- spec/unit/mutant/mutator/node/
|
415
|
-
- spec/unit/mutant/mutator/node/
|
416
|
-
- spec/unit/mutant/
|
417
|
-
- spec/unit/mutant/node_helpers/n_not_spec.rb
|
409
|
+
- spec/unit/mutant/mutator/node/masgn_spec.rb
|
410
|
+
- spec/unit/mutant/mutator/node/match_current_line_spec.rb
|
411
|
+
- spec/unit/mutant/mutator/node/named_value/access_spec.rb
|
412
|
+
- spec/unit/mutant/mutator/node/named_value/constant_assignment_spec.rb
|
413
|
+
- spec/unit/mutant/mutator/node/named_value/variable_assignment_spec.rb
|
414
|
+
- spec/unit/mutant/mutator/node/nthref_spec.rb
|
415
|
+
- spec/unit/mutant/mutator/node/op_assgn_spec.rb
|
416
|
+
- spec/unit/mutant/mutator/node/or_asgn_spec.rb
|
417
|
+
- spec/unit/mutant/mutator/node/redo_spec.rb
|
418
|
+
- spec/unit/mutant/mutator/node/rescue_spec.rb
|
419
|
+
- spec/unit/mutant/mutator/node/restarg_spec.rb
|
420
|
+
- spec/unit/mutant/mutator/node/return_spec.rb
|
421
|
+
- spec/unit/mutant/mutator/node/send_spec.rb
|
422
|
+
- spec/unit/mutant/mutator/node/super_spec.rb
|
423
|
+
- spec/unit/mutant/mutator/node/yield_spec.rb
|
424
|
+
- spec/unit/mutant/mutator_spec.rb
|
418
425
|
- spec/unit/mutant/predicate_spec.rb
|
419
|
-
- spec/unit/mutant/runner/
|
420
|
-
- spec/unit/mutant/runner/config/success_predicate_spec.rb
|
426
|
+
- spec/unit/mutant/runner/config_spec.rb
|
421
427
|
- spec/unit/mutant/runner/mutation/killer_spec.rb
|
422
|
-
- spec/unit/mutant/runner/
|
428
|
+
- spec/unit/mutant/runner/subject_spec.rb
|
423
429
|
- spec/unit/mutant/strategy_spec.rb
|
424
430
|
- spec/unit/mutant/subject/context_spec.rb
|
425
431
|
- spec/unit/mutant/subject/method/instance_spec.rb
|
426
432
|
- spec/unit/mutant/subject/mutations_spec.rb
|
427
433
|
- spec/unit/mutant/subject/node_spec.rb
|
428
434
|
- spec/unit/mutant/subject_spec.rb
|
435
|
+
- spec/unit/mutant_spec.rb
|
429
436
|
- test_app/.rspec
|
437
|
+
- test_app/Gemfile.devtools
|
430
438
|
- test_app/lib/test_app.rb
|
431
439
|
- test_app/lib/test_app/literal.rb
|
432
440
|
- test_app/spec/shared/command_method_behavior.rb
|
@@ -467,7 +475,6 @@ test_files:
|
|
467
475
|
- spec/integration/mutant/rspec_spec.rb
|
468
476
|
- spec/integration/mutant/test_mutator_handles_types_spec.rb
|
469
477
|
- spec/integration/mutant/zombie_spec.rb
|
470
|
-
- spec/unit/mutant/class_methods/singleton_subclass_instance_spec.rb
|
471
478
|
- spec/unit/mutant/cli/builder/rspec_spec.rb
|
472
479
|
- spec/unit/mutant/cli/classifier/method_spec.rb
|
473
480
|
- spec/unit/mutant/cli/classifier/namespace/flat_spec.rb
|
@@ -478,44 +485,38 @@ test_files:
|
|
478
485
|
- spec/unit/mutant/context/root_spec.rb
|
479
486
|
- spec/unit/mutant/context/scope/root_spec.rb
|
480
487
|
- spec/unit/mutant/context/scope/unqualified_name_spec.rb
|
481
|
-
- spec/unit/mutant/differ/class_methods/build_spec.rb
|
482
|
-
- spec/unit/mutant/differ/class_methods/colorize_line_spec.rb
|
483
488
|
- spec/unit/mutant/differ/diff_spec.rb
|
484
|
-
- spec/unit/mutant/
|
489
|
+
- spec/unit/mutant/differ_spec.rb
|
490
|
+
- spec/unit/mutant/killer/rspec_spec.rb
|
485
491
|
- spec/unit/mutant/killer/success_predicate_spec.rb
|
486
|
-
- spec/unit/mutant/loader/
|
487
|
-
- spec/unit/mutant/matcher/
|
488
|
-
- spec/unit/mutant/matcher/chain/matchers_spec.rb
|
489
|
-
- spec/unit/mutant/matcher/each_spec.rb
|
492
|
+
- spec/unit/mutant/loader/eval_spec.rb
|
493
|
+
- spec/unit/mutant/matcher/chain_spec.rb
|
490
494
|
- spec/unit/mutant/matcher/filter_spec.rb
|
491
|
-
- spec/unit/mutant/matcher/method/
|
492
|
-
- spec/unit/mutant/matcher/method/
|
493
|
-
- spec/unit/mutant/matcher/
|
494
|
-
- spec/unit/mutant/matcher/methods/
|
495
|
-
- spec/unit/mutant/matcher/
|
496
|
-
- spec/unit/mutant/matcher/namespace/each_spec.rb
|
495
|
+
- spec/unit/mutant/matcher/method/instance_spec.rb
|
496
|
+
- spec/unit/mutant/matcher/method/singleton_spec.rb
|
497
|
+
- spec/unit/mutant/matcher/methods/instance_spec.rb
|
498
|
+
- spec/unit/mutant/matcher/methods/singleton_spec.rb
|
499
|
+
- spec/unit/mutant/matcher/namespace_spec.rb
|
497
500
|
- spec/unit/mutant/mutation_spec.rb
|
498
|
-
- spec/unit/mutant/mutator/
|
499
|
-
- spec/unit/mutant/mutator/
|
500
|
-
- spec/unit/mutant/mutator/
|
501
|
-
- spec/unit/mutant/mutator/node/
|
502
|
-
- spec/unit/mutant/mutator/node/
|
503
|
-
- spec/unit/mutant/mutator/node/
|
504
|
-
- spec/unit/mutant/mutator/node/
|
505
|
-
- spec/unit/mutant/mutator/node/
|
506
|
-
- spec/unit/mutant/mutator/node/
|
507
|
-
- spec/unit/mutant/mutator/node/
|
508
|
-
- spec/unit/mutant/mutator/node/
|
509
|
-
- spec/unit/mutant/mutator/node/
|
510
|
-
- spec/unit/mutant/mutator/node/
|
511
|
-
- spec/unit/mutant/mutator/node/
|
512
|
-
- spec/unit/mutant/mutator/node/
|
513
|
-
- spec/unit/mutant/mutator/node/
|
514
|
-
- spec/unit/mutant/mutator/node/
|
515
|
-
- spec/unit/mutant/mutator/node/if/mutation_spec.rb
|
516
|
-
- spec/unit/mutant/mutator/node/kwbegin/mutation_spec.rb
|
501
|
+
- spec/unit/mutant/mutator/node/and_asgn_spec.rb
|
502
|
+
- spec/unit/mutant/mutator/node/begin_spec.rb
|
503
|
+
- spec/unit/mutant/mutator/node/binary_spec.rb
|
504
|
+
- spec/unit/mutant/mutator/node/block_pass_spec.rb
|
505
|
+
- spec/unit/mutant/mutator/node/block_spec.rb
|
506
|
+
- spec/unit/mutant/mutator/node/blockarg_spec.rb
|
507
|
+
- spec/unit/mutant/mutator/node/case_spec.rb
|
508
|
+
- spec/unit/mutant/mutator/node/cbase_spec.rb
|
509
|
+
- spec/unit/mutant/mutator/node/conditional_loop_spec.rb
|
510
|
+
- spec/unit/mutant/mutator/node/const_spec.rb
|
511
|
+
- spec/unit/mutant/mutator/node/define_spec.rb
|
512
|
+
- spec/unit/mutant/mutator/node/defined_spec.rb
|
513
|
+
- spec/unit/mutant/mutator/node/dstr_spec.rb
|
514
|
+
- spec/unit/mutant/mutator/node/dsym_spec.rb
|
515
|
+
- spec/unit/mutant/mutator/node/ensure_spec.rb
|
516
|
+
- spec/unit/mutant/mutator/node/if_spec.rb
|
517
|
+
- spec/unit/mutant/mutator/node/kwbegin_spec.rb
|
517
518
|
- spec/unit/mutant/mutator/node/literal/array_spec.rb
|
518
|
-
- spec/unit/mutant/mutator/node/literal/
|
519
|
+
- spec/unit/mutant/mutator/node/literal/boolean_spec.rb
|
519
520
|
- spec/unit/mutant/mutator/node/literal/fixnum_spec.rb
|
520
521
|
- spec/unit/mutant/mutator/node/literal/float_spec.rb
|
521
522
|
- spec/unit/mutant/mutator/node/literal/hash_spec.rb
|
@@ -525,32 +526,31 @@ test_files:
|
|
525
526
|
- spec/unit/mutant/mutator/node/literal/string_spec.rb
|
526
527
|
- spec/unit/mutant/mutator/node/literal/symbol_spec.rb
|
527
528
|
- spec/unit/mutant/mutator/node/loop_ctrl_spec.rb
|
528
|
-
- spec/unit/mutant/mutator/node/
|
529
|
-
- spec/unit/mutant/mutator/node/
|
530
|
-
- spec/unit/mutant/mutator/node/named_value/
|
531
|
-
- spec/unit/mutant/mutator/node/named_value/
|
532
|
-
- spec/unit/mutant/mutator/node/named_value/
|
533
|
-
- spec/unit/mutant/mutator/node/
|
534
|
-
- spec/unit/mutant/mutator/node/
|
535
|
-
- spec/unit/mutant/mutator/node/
|
536
|
-
- spec/unit/mutant/mutator/node/
|
537
|
-
- spec/unit/mutant/mutator/node/
|
538
|
-
- spec/unit/mutant/mutator/node/
|
539
|
-
- spec/unit/mutant/mutator/node/
|
540
|
-
- spec/unit/mutant/mutator/node/
|
541
|
-
- spec/unit/mutant/mutator/node/
|
542
|
-
- spec/unit/mutant/mutator/node/
|
543
|
-
- spec/unit/mutant/
|
544
|
-
- spec/unit/mutant/node_helpers/n_not_spec.rb
|
529
|
+
- spec/unit/mutant/mutator/node/masgn_spec.rb
|
530
|
+
- spec/unit/mutant/mutator/node/match_current_line_spec.rb
|
531
|
+
- spec/unit/mutant/mutator/node/named_value/access_spec.rb
|
532
|
+
- spec/unit/mutant/mutator/node/named_value/constant_assignment_spec.rb
|
533
|
+
- spec/unit/mutant/mutator/node/named_value/variable_assignment_spec.rb
|
534
|
+
- spec/unit/mutant/mutator/node/nthref_spec.rb
|
535
|
+
- spec/unit/mutant/mutator/node/op_assgn_spec.rb
|
536
|
+
- spec/unit/mutant/mutator/node/or_asgn_spec.rb
|
537
|
+
- spec/unit/mutant/mutator/node/redo_spec.rb
|
538
|
+
- spec/unit/mutant/mutator/node/rescue_spec.rb
|
539
|
+
- spec/unit/mutant/mutator/node/restarg_spec.rb
|
540
|
+
- spec/unit/mutant/mutator/node/return_spec.rb
|
541
|
+
- spec/unit/mutant/mutator/node/send_spec.rb
|
542
|
+
- spec/unit/mutant/mutator/node/super_spec.rb
|
543
|
+
- spec/unit/mutant/mutator/node/yield_spec.rb
|
544
|
+
- spec/unit/mutant/mutator_spec.rb
|
545
545
|
- spec/unit/mutant/predicate_spec.rb
|
546
|
-
- spec/unit/mutant/runner/
|
547
|
-
- spec/unit/mutant/runner/config/success_predicate_spec.rb
|
546
|
+
- spec/unit/mutant/runner/config_spec.rb
|
548
547
|
- spec/unit/mutant/runner/mutation/killer_spec.rb
|
549
|
-
- spec/unit/mutant/runner/
|
548
|
+
- spec/unit/mutant/runner/subject_spec.rb
|
550
549
|
- spec/unit/mutant/strategy_spec.rb
|
551
550
|
- spec/unit/mutant/subject/context_spec.rb
|
552
551
|
- spec/unit/mutant/subject/method/instance_spec.rb
|
553
552
|
- spec/unit/mutant/subject/mutations_spec.rb
|
554
553
|
- spec/unit/mutant/subject/node_spec.rb
|
555
554
|
- spec/unit/mutant/subject_spec.rb
|
555
|
+
- spec/unit/mutant_spec.rb
|
556
556
|
has_rdoc:
|