mutiny 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/RELEASES.md +3 -0
- data/lib/mutiny/analysis/analyser.rb +3 -2
- data/lib/mutiny/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 554e8201c70c0ab7fe048dde7f53406275110ed7
|
|
4
|
+
data.tar.gz: e5c9ea2e62c5f1d00260753c0cff7e5f62ac5f93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d5688557c103ff17e9222f9cc438946ceed1d07168ee78c7b02398c8807e9575b36a85aafcae048aa0daa9d119fa6e1c7ab48ed6cc7815bbac4cce81c76b6d6
|
|
7
|
+
data.tar.gz: 48d5ff4b9e8fbbc472a7f9325e4f355c9e6ef3b38488126a2f72e22bcf2746b252bdf6eb38b6f5738d5a161149eb07fc98477ca22a02fe2964623191d67ef233
|
data/Gemfile.lock
CHANGED
data/RELEASES.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## v0.2.7 (22 February 2016)
|
|
4
|
+
* Fix bug whereby analysis was incorrectly reusing test results for all previous mutants when evaluating current mutant.
|
|
5
|
+
|
|
3
6
|
## v0.2.6 (17 February 2016)
|
|
4
7
|
* A mutant's position now carries information about the affected range in the subject, as well as in the mutated code.
|
|
5
8
|
|
|
@@ -35,11 +35,12 @@ module Mutiny
|
|
|
35
35
|
|
|
36
36
|
def analyse(mutant)
|
|
37
37
|
mutant.apply
|
|
38
|
-
mutant.stillborn? ? nil : run_tests(
|
|
38
|
+
mutant.stillborn? ? nil : run_tests(mutant)
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
def run_tests(
|
|
41
|
+
def run_tests(mutant)
|
|
42
42
|
Isolation.call do
|
|
43
|
+
test_set = select_tests(mutant)
|
|
43
44
|
integration.run(test_set, fail_fast: true)
|
|
44
45
|
end
|
|
45
46
|
end
|
data/lib/mutiny/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mutiny
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Louis Rose
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parser
|