semaphore_test_boosters 2.2.2 → 2.2.3

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: 590c85d7b12cd31c902565d266796ee97076a430
4
- data.tar.gz: 19731cd1002e9bda080fad24f1db08b13cf05a57
3
+ metadata.gz: e9b81adbced4c33522f4e33249abdec12d731839
4
+ data.tar.gz: 6854ab8456f245a05cc349043d99c54ca8b2ee82
5
5
  SHA512:
6
- metadata.gz: 864c78cd9145390f046a196f19c8e6be30217384829b800ecdfb79b57a13381c9acda62f3650415993fac3835017487f145f1b3c5eb37f4b75e4db95708b6a54
7
- data.tar.gz: 02ebed353437dd645b1f500c49bf24c7d366da95c80dc7b662df3fb8cc3d6cfdddbc68df9467affa030ca5856f3a3435c3210fc7cd3d1e605376e61e459830f4
6
+ metadata.gz: 1702c760ab390cc4483c8d68b9b7f63cb54aac1a5859ae816ec74aa5496812c96c77f6f779a1fdd1389e54f87eb19be685ae18f0910cdb022d3545d4d44c28a1
7
+ data.tar.gz: 44ff6f24265265b3a58a57c8219897172245848a4356e54eafd63860efc1c2a6dd1b296a2715949c30dcbfb7fbd0d2414aa0a496b9ecb173457ba5879aeb31b6
data/README.md CHANGED
@@ -21,7 +21,6 @@ Test Boosters:
21
21
  - [ExUnit Booster](#ex-unit-booster)
22
22
  - [GoTest Booster](#go-test-booster)
23
23
 
24
-
25
24
  ## Installation
26
25
 
27
26
  ``` bash
@@ -59,7 +58,7 @@ you should put the following in your split configuration file:
59
58
  ]
60
59
  ```
61
60
 
62
- Semaphore uses Split configurations to split your test files based their
61
+ Semaphore uses Split configurations to split your test files based on their
63
62
  durations in the previous builds.
64
63
 
65
64
  ### Leftover Files
@@ -81,9 +80,14 @@ For example, if you have the following in your split configuration:
81
80
  and the following files in your spec directory:
82
81
 
83
82
  ``` bash
83
+ # Files from split configuration ↓
84
+
84
85
  spec/a_spec.rb
85
86
  spec/b_spec.rb
86
87
  spec/c_spec.rb
88
+
89
+ # Leftover files ↓
90
+
87
91
  spec/d_spec.rb
88
92
  spec/e_spec.rb
89
93
  ```
@@ -97,6 +101,8 @@ rspec_booster --job 1/3
97
101
  # => runs: bundle exec rspec spec/a_spec.rb spec/d_spec.rb
98
102
  ```
99
103
 
104
+ Booster will distribute your leftover files uniformly across jobs.
105
+
100
106
  ## RSpec Booster
101
107
 
102
108
  The `rspec_booster` loads all the files that match the `spec/**/*_spec.rb`
@@ -12,8 +12,10 @@ module TestBoosters
12
12
  system(command)
13
13
  end
14
14
 
15
+ exited = $?.exited?
15
16
  exit_status = $?.exitstatus
16
17
 
18
+ TestBoosters::Logger.info("Command exited : #{exited}")
17
19
  TestBoosters::Logger.info("Command finished, exit status : #{exit_status}")
18
20
 
19
21
  exit_status
@@ -1,3 +1,3 @@
1
1
  module TestBoosters
2
- VERSION = "2.2.2".freeze
2
+ VERSION = "2.2.3".freeze
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rspec", "~> 3.5"
26
26
  spec.add_development_dependency "activesupport", "~> 4.0"
27
27
 
28
- spec.add_development_dependency "rubocop", "~> 0.47.1"
28
+ spec.add_development_dependency "rubocop", "~> 0.49.0"
29
29
  spec.add_development_dependency "rubocop-rspec", "~> 1.13.0"
30
30
  spec.add_development_dependency "reek", "4.5.6"
31
31
  spec.add_development_dependency "simplecov", "~> 0.13"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semaphore_test_boosters
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Developers at Rendered Text
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-27 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semaphore_cucumber_booster_config
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.47.1
75
+ version: 0.49.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.47.1
82
+ version: 0.49.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  requirements: []
190
190
  rubyforge_project:
191
- rubygems_version: 2.4.8
191
+ rubygems_version: 2.6.14
192
192
  signing_key:
193
193
  specification_version: 4
194
194
  summary: Semaphore job parallelization.