parallel_tests 2.14.1 → 2.14.2
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/Readme.md +2 -0
- data/lib/parallel_tests/test/runner.rb +1 -1
- data/lib/parallel_tests/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: e63015e49335d727c6653cbe672304d63ef983a7
|
4
|
+
data.tar.gz: cd4280ed0ce9d8fdab0647f1b34f8b24d885753c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83fb00184843c80b7121f3a8a6a3a2e8153860a885d5ee40efb2b0eab7bacf5d8e12d23f18aa2732c5a402f0f5dadc76439fa832b4443b83e80f33a0ccc32fa0
|
7
|
+
data.tar.gz: 12029850d47dde7c202e13ba0dc2c35e6aeda6f67f161bbceeef2d0a5dbaf3cf2f068f1ba9805cd54562bd633be7790d9856a1fc200a668a38151799928ab0ca
|
data/Readme.md
CHANGED
@@ -111,6 +111,8 @@ Rspec: Add to your `.rspec_parallel` (or `.rspec`) :
|
|
111
111
|
--format progress
|
112
112
|
--format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log
|
113
113
|
|
114
|
+
To use a custom logfile location (default: `tmp/parallel_runtime_spec.log`), use the CLI: `parallel_test spec -t rspec --runtime-log my.log`
|
115
|
+
|
114
116
|
### Test::Unit & Minitest 4/5
|
115
117
|
|
116
118
|
Add to your `test_helper.rb`:
|
@@ -192,7 +192,7 @@ module ParallelTests
|
|
192
192
|
log = options[:runtime_log] || runtime_log
|
193
193
|
lines = File.read(log).split("\n")
|
194
194
|
lines.each_with_object({}) do |line, times|
|
195
|
-
test, time = line.
|
195
|
+
test, _, time = line.rpartition(':')
|
196
196
|
next unless test and time
|
197
197
|
times[test] = time.to_f if tests.include?(test)
|
198
198
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.14.
|
4
|
+
version: 2.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|