forking_test_runner 0.5.1 → 0.6.0
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 +4 -4
- data/lib/forking_test_runner/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 455fbc6f17156c672bf430e9b003c968d5607dc7
|
4
|
+
data.tar.gz: b7d396787d8df135c38d45587241dbb9f4eefdbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f8da2b97dfd0c554eec9e74f74cfc06ad1053184b2d9811874a77797dc3673a8bda7f23398a7995f26d09a19d1fc6e372c4461bf3538b17037c8d3feffa199
|
7
|
+
data.tar.gz: 5031d3a3bebe4a34d6e66d9a9cbac3b92f64d0a01de61e0604e36cb18e1096bb8f5384d58af24a91a68a587324ff6e67fc4161b56541018e562fc177aa1d8b8a
|
data/lib/forking_test_runner.rb
CHANGED
@@ -85,11 +85,11 @@ module ForkingTestRunner
|
|
85
85
|
|
86
86
|
def summarize_results(results)
|
87
87
|
runner = if @rspec
|
88
|
-
require 'parallel_tests/test/runner'
|
89
|
-
ParallelTests::Test::Runner
|
90
|
-
else
|
91
88
|
require 'parallel_tests/rspec/runner'
|
92
89
|
ParallelTests::RSpec::Runner
|
90
|
+
else
|
91
|
+
require 'parallel_tests/test/runner'
|
92
|
+
ParallelTests::Test::Runner
|
93
93
|
end
|
94
94
|
|
95
95
|
runner.summarize_results(results.map { |r| runner.find_results(r) })
|
@@ -284,7 +284,7 @@ module ForkingTestRunner
|
|
284
284
|
def toggle_test_autorun(value, file=nil)
|
285
285
|
if @rspec
|
286
286
|
if value
|
287
|
-
RSpec::Core::Runner.run([file] + ARGV)
|
287
|
+
exit(RSpec::Core::Runner.run([file] + ARGV))
|
288
288
|
else
|
289
289
|
require 'bundler/setup'
|
290
290
|
require 'rspec'
|
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: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
|
-
rubygems_version: 2.2.
|
156
|
+
rubygems_version: 2.2.2
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Run every test in a fork to avoid pollution and get clean output per test
|