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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dde8c78afc90ec60debffa4e14a4d1bb65ba0e68
4
- data.tar.gz: 6e8ebdedaa12011fd85e5281dfdadda1b5e5c080
3
+ metadata.gz: 0f281a429bc729e3ae4d1be9f647fa7091a7ac84
4
+ data.tar.gz: 3b556246986ae8b95fe4f19342eaaa39dfa5f35c
5
5
  SHA512:
6
- metadata.gz: 930c7ef3cbe2c96a9d58d64d6b9ae5db03fa73bb81f748430bbee2b88d390eb0c62e74febd9ade9c3db55019b0df84b1a1d1590dc9cbfc9a70b89c0bc43f3abf
7
- data.tar.gz: 4f068c14bbf2a008c15e28f748cf24eca822eec0df0b1ad55b7eb011cb73870679fa3b21d4ac2c9a7433c06463edd4936f8c82e89d1a9c10a89624f6142e6800
6
+ metadata.gz: 8c0988a5963df04cc497472bc456dcd120d8f753f2ba77811c0696cbe31c3525481c86995d98d388b600f2459ab143c7bf4171bc2b229f4982958ae4f94639fa
7
+ data.tar.gz: a5fd83f107cef9e7ce3963ef2ef257ae2edb92d02bae33e50c6321477879d478dd680fe008dbe96660135abad75bb4cc5464e50a6a3f7e065275feb54bbe6de2
@@ -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
 
@@ -2,6 +2,6 @@
2
2
  module WTT
3
3
  # Functionality core to WTT belongs here
4
4
  module Core
5
- VERSION = '0.1.16'.freeze
5
+ VERSION = '0.1.17'.freeze
6
6
  end
7
7
  end
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.16
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-19 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler