forking_test_runner 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forking_test_runner.rb +1 -0
- data/lib/forking_test_runner/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef9594eb4e2644f8afa4ace2ecafc1f71eef58258297a9a3a425749669310908
|
4
|
+
data.tar.gz: f3f1a73b501941fa9dd01b93324ca294f05337dc9643777ac1113b79e1d22a53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fcc2695e506ca3360561436d55dd01117aae03c033b1b60ad3147acd59bf8cd278aff0e386db75dd9847f85b8528829a007ed6bb5b28d0ea2f78f88881ce95a
|
7
|
+
data.tar.gz: efff54891fd50adbe0311e63068dc6fe5c131e6e4557ae3f5369790c68344bca7139138e85af70599d974eab57f65b4813ae8102cf9b8012ed8a61d491b328be
|
data/lib/forking_test_runner.rb
CHANGED
@@ -21,6 +21,7 @@ module ForkingTestRunner
|
|
21
21
|
if parallel && !@options.fetch(:group)
|
22
22
|
Array.new(parallel) { |i| find_tests_for_group(i + 1, parallel, tests, runtime_log) }
|
23
23
|
else
|
24
|
+
raise ArgumentError, "Use the same amount of processors as groups" if parallel && parallel != group_count
|
24
25
|
groups.map { |group| find_tests_for_group(group, group_count, tests, runtime_log) }
|
25
26
|
end
|
26
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forking_test_runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|