wtt-core 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wtt/core/selector.rb +9 -4
- data/lib/wtt/core/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: 0f281a429bc729e3ae4d1be9f647fa7091a7ac84
|
4
|
+
data.tar.gz: 3b556246986ae8b95fe4f19342eaaa39dfa5f35c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c0988a5963df04cc497472bc456dcd120d8f753f2ba77811c0696cbe31c3525481c86995d98d388b600f2459ab143c7bf4171bc2b229f4982958ae4f94639fa
|
7
|
+
data.tar.gz: a5fd83f107cef9e7ce3963ef2ef257ae2edb92d02bae33e50c6321477879d478dd680fe008dbe96660135abad75bb4cc5464e50a6a3f7e065275feb54bbe6de2
|
data/lib/wtt/core/selector.rb
CHANGED
@@ -36,10 +36,6 @@ module WTT
|
|
36
36
|
change_count = 0
|
37
37
|
@tests = Set.new
|
38
38
|
|
39
|
-
mapping.unmapped_tests.each do |test|
|
40
|
-
@tests << test
|
41
|
-
end
|
42
|
-
|
43
39
|
diff.each_patch do |patch|
|
44
40
|
change_count += 1
|
45
41
|
file = patch.delta.old_file[:path]
|
@@ -51,6 +47,15 @@ module WTT
|
|
51
47
|
end
|
52
48
|
@tests.delete(nil)
|
53
49
|
puts "WTT found #{@tests.count} tests for #{change_count} changes."
|
50
|
+
|
51
|
+
unmapped = 0
|
52
|
+
mapping.unmapped_tests.each do |test|
|
53
|
+
unmapped += 1
|
54
|
+
@tests << test
|
55
|
+
end
|
56
|
+
@tests.delete(nil)
|
57
|
+
puts "WTT found #{unmapped} tests with no mapping that will be executed."
|
58
|
+
|
54
59
|
@tests
|
55
60
|
end
|
56
61
|
|
data/lib/wtt/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wtt-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donavan Stanley
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|