semaphore_test_boosters 2.6.0 → 2.7.0
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/lib/test_boosters/boosters/base.rb +3 -1
- data/lib/test_boosters/boosters/cucumber.rb +1 -1
- data/lib/test_boosters/boosters/ex_unit.rb +1 -1
- data/lib/test_boosters/boosters/go_test.rb +1 -1
- data/lib/test_boosters/boosters/minitest.rb +1 -1
- data/lib/test_boosters/boosters/rspec.rb +5 -1
- data/lib/test_boosters/files/distributor.rb +7 -2
- data/lib/test_boosters/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: 9539e2ccd028897753026672723046e6741cb3d2
|
4
|
+
data.tar.gz: 7a1a80632401a154f602e10909292f2f9284b608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcbffca8de73d690246389ec3107a85999a3fe831d2889026074bfc4bd3ee90bc1267f0ca6337f68d6b7190c3791aeb39f07d8230386b9cf8a7404a9096565d1
|
7
|
+
data.tar.gz: 208e3cb145617be8dde5e7e4f4119cb8ac367a9ee5a7080f3299410c4ec57f4f1196ad0ce03a926c219d9507548d2e711914c0ffbdc5c2ad2d4b6bc7e1f0a664
|
@@ -2,9 +2,10 @@ module TestBoosters
|
|
2
2
|
module Boosters
|
3
3
|
class Base
|
4
4
|
|
5
|
-
def initialize(file_pattern, split_configuration_path, command)
|
5
|
+
def initialize(file_pattern, exclude_pattern, split_configuration_path, command)
|
6
6
|
@command = command
|
7
7
|
@file_pattern = file_pattern
|
8
|
+
@exclude_pattern = exclude_pattern
|
8
9
|
@split_configuration_path = split_configuration_path
|
9
10
|
end
|
10
11
|
|
@@ -59,6 +60,7 @@ module TestBoosters
|
|
59
60
|
def distribution
|
60
61
|
@distribution ||= TestBoosters::Files::Distributor.new(@split_configuration_path,
|
61
62
|
@file_pattern,
|
63
|
+
@exclude_pattern,
|
62
64
|
job_count)
|
63
65
|
end
|
64
66
|
|
@@ -2,7 +2,7 @@ module TestBoosters
|
|
2
2
|
module Boosters
|
3
3
|
class Rspec < Base
|
4
4
|
def initialize
|
5
|
-
super(file_pattern, split_configuration_path, command)
|
5
|
+
super(file_pattern, exclude_pattern, split_configuration_path, command)
|
6
6
|
end
|
7
7
|
|
8
8
|
def display_header
|
@@ -44,6 +44,10 @@ module TestBoosters
|
|
44
44
|
def file_pattern
|
45
45
|
ENV["TEST_BOOSTERS_RSPEC_TEST_FILE_PATTERN"] || "spec/**/*_spec.rb"
|
46
46
|
end
|
47
|
+
|
48
|
+
def exclude_pattern
|
49
|
+
ENV["TEST_BOOSTERS_RSPEC_TEST_EXCLUDE_PATTERN"]
|
50
|
+
end
|
47
51
|
end
|
48
52
|
end
|
49
53
|
end
|
@@ -6,9 +6,10 @@ module TestBoosters
|
|
6
6
|
#
|
7
7
|
class Distributor
|
8
8
|
|
9
|
-
def initialize(split_configuration_path, file_pattern, job_count)
|
9
|
+
def initialize(split_configuration_path, file_pattern, exclude_pattern, job_count)
|
10
10
|
@split_configuration_path = split_configuration_path
|
11
11
|
@file_pattern = file_pattern
|
12
|
+
@exclude_pattern = exclude_pattern
|
12
13
|
@job_count = job_count
|
13
14
|
end
|
14
15
|
|
@@ -26,7 +27,11 @@ module TestBoosters
|
|
26
27
|
end
|
27
28
|
|
28
29
|
def all_files
|
29
|
-
@all_files ||=
|
30
|
+
@all_files ||= begin
|
31
|
+
files = Dir[@file_pattern].sort
|
32
|
+
files -= Dir[@exclude_pattern] if @exclude_pattern
|
33
|
+
files
|
34
|
+
end
|
30
35
|
end
|
31
36
|
|
32
37
|
private
|
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.
|
4
|
+
version: 2.7.0
|
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:
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semaphore_cucumber_booster_config
|