semaphore_test_boosters 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_boosters/cucumber/booster.rb +11 -1
- data/lib/test_boosters/project_info.rb +30 -0
- data/lib/test_boosters/rspec/booster.rb +11 -1
- data/lib/test_boosters/version.rb +1 -1
- data/lib/test_boosters.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df85dec09c1a32896336062203c66c589f66812e
|
4
|
+
data.tar.gz: 4a9c3efd75db2ff2374a0888476b4c329a2812e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91cae9271ceeb83e3e57f376a157917fbb71e179d337de6a07e001029c43244cdc6cba98bc8958bec4d6620e01a624fa257c14b1cd3c4be0015a1ffeff060f19
|
7
|
+
data.tar.gz: 23285fca6e7c98434685aa03967b849adc2d19fa2448e3c0e831032e9fed0b6eb2035f00bb1e14a22a3ec100d7f8d7ba98991ca6b37aede537e6b3cf802eb22e
|
@@ -11,7 +11,7 @@ module TestBoosters
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def run
|
14
|
-
|
14
|
+
display_system_info
|
15
15
|
|
16
16
|
unless split_configuration.valid?
|
17
17
|
puts "[ERROR] The split configuration file is malformed!"
|
@@ -22,6 +22,16 @@ module TestBoosters
|
|
22
22
|
threads[@thread_index].run
|
23
23
|
end
|
24
24
|
|
25
|
+
def display_system_info
|
26
|
+
TestBoosters::Shell.display_title("Cucumber Booster v#{TestBoosters::VERSION}")
|
27
|
+
|
28
|
+
TestBoosters::ProjectInfo.display_ruby_version
|
29
|
+
TestBoosters::ProjectInfo.display_bundler_version
|
30
|
+
TestBoosters::ProjectInfo.display_cucumber_version
|
31
|
+
|
32
|
+
puts
|
33
|
+
end
|
34
|
+
|
25
35
|
def threads
|
26
36
|
@threads ||= Array.new(@thread_count) do |thread_index|
|
27
37
|
known_files = all_specs & split_configuration.files_for_thread(thread_index)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module TestBoosters
|
2
|
+
module ProjectInfo
|
3
|
+
module_function
|
4
|
+
|
5
|
+
def display_ruby_version
|
6
|
+
version = `ruby --version`.gsub("ruby ", "")
|
7
|
+
|
8
|
+
puts "Ruby Version: #{version}"
|
9
|
+
end
|
10
|
+
|
11
|
+
def display_bundler_version
|
12
|
+
version = `bundle --version`.gsub("Bundler version ", "")
|
13
|
+
|
14
|
+
puts "Bundler Version: #{version}"
|
15
|
+
end
|
16
|
+
|
17
|
+
def display_rspec_version
|
18
|
+
version = `bundle exec rspec --version`
|
19
|
+
|
20
|
+
puts "RSpec Version: #{version}"
|
21
|
+
end
|
22
|
+
|
23
|
+
def display_cucumber_version
|
24
|
+
version = `bundle exec cucumber --version`
|
25
|
+
|
26
|
+
puts "Cucumber Version: #{version}"
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
@@ -11,7 +11,7 @@ module TestBoosters
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def run
|
14
|
-
|
14
|
+
display_system_info
|
15
15
|
|
16
16
|
unless split_configuration.valid?
|
17
17
|
puts "[ERROR] The split configuration file is malformed!"
|
@@ -22,6 +22,16 @@ module TestBoosters
|
|
22
22
|
threads[@thread_index].run
|
23
23
|
end
|
24
24
|
|
25
|
+
def display_system_info
|
26
|
+
TestBoosters::Shell.display_title("RSpec Booster v#{TestBoosters::VERSION}")
|
27
|
+
|
28
|
+
TestBoosters::ProjectInfo.display_ruby_version
|
29
|
+
TestBoosters::ProjectInfo.display_bundler_version
|
30
|
+
TestBoosters::ProjectInfo.display_rspec_version
|
31
|
+
|
32
|
+
puts
|
33
|
+
end
|
34
|
+
|
25
35
|
def threads
|
26
36
|
@threads ||= Array.new(@thread_count) do |thread_index|
|
27
37
|
known_files = all_specs & split_configuration.files_for_thread(thread_index)
|
data/lib/test_boosters.rb
CHANGED
@@ -12,6 +12,7 @@ module TestBoosters
|
|
12
12
|
require "test_boosters/shell"
|
13
13
|
require "test_boosters/leftover_files"
|
14
14
|
require "test_boosters/insights_uploader"
|
15
|
+
require "test_boosters/project_info"
|
15
16
|
|
16
17
|
require "test_boosters/rspec/booster"
|
17
18
|
require "test_boosters/rspec/thread"
|
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: 1.6.
|
4
|
+
version: 1.6.2
|
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-03-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semaphore_cucumber_booster_config
|
@@ -164,6 +164,7 @@ files:
|
|
164
164
|
- lib/test_boosters/insights_uploader.rb
|
165
165
|
- lib/test_boosters/leftover_files.rb
|
166
166
|
- lib/test_boosters/logger.rb
|
167
|
+
- lib/test_boosters/project_info.rb
|
167
168
|
- lib/test_boosters/rspec/booster.rb
|
168
169
|
- lib/test_boosters/rspec/thread.rb
|
169
170
|
- lib/test_boosters/shell.rb
|