forking_test_runner 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/forking_test_runner.rb +3 -1
- data/lib/forking_test_runner/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 35c1dd9e2075a744fbfbe951b2b44aec7e51b4430940d83f8c60d7f59d8be850
|
4
|
+
data.tar.gz: beb9db29204e45334f6afcfdf1670bb2a3f72b8bf11d4a4c9560c9d6bb65ceef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2363db14074a420e0bea88030f609206143d94c961c89a25536a4962d1231266a2afae1841b53602a0bd36c3d4b686616b48eb54b464fe6a317cbccde63fe0f4
|
7
|
+
data.tar.gz: b953fe2dc415c51c72d5126467bb90bcec0236aaa9edb3ce573601942be4524ac74c8050b24c72d74c0b4e57ffd9050935737029fd2a354d422f344f9156ae4e
|
data/lib/forking_test_runner.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'benchmark'
|
2
2
|
require 'optparse'
|
3
|
+
require 'forking_test_runner/version'
|
3
4
|
|
4
5
|
module ForkingTestRunner
|
5
6
|
CLEAR = "------"
|
@@ -305,7 +306,7 @@ module ForkingTestRunner
|
|
305
306
|
end
|
306
307
|
|
307
308
|
def ar?
|
308
|
-
defined?(ActiveRecord::Base)
|
309
|
+
!@options.fetch(:no_ar) && defined?(ActiveRecord::Base)
|
309
310
|
end
|
310
311
|
|
311
312
|
def minitest_class
|
@@ -357,6 +358,7 @@ module ForkingTestRunner
|
|
357
358
|
[:helper, "--helper", "Helper file to load before tests start", String],
|
358
359
|
[:quiet, "--quiet", "Quiet"],
|
359
360
|
[:no_fixtures, "--no-fixtures", "Do not load fixtures"],
|
361
|
+
[:no_ar, "--no-ar", "Disable ActiveRecord logic"],
|
360
362
|
[:merge_coverage, "--merge-coverage", "Merge base code coverage into indvidual files coverage, great for SingleCov"],
|
361
363
|
[
|
362
364
|
:record_runtime,
|
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.
|
4
|
+
version: 1.3.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: 2018-
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel_tests
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.6
|
142
|
+
rubygems_version: 2.7.6
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Run every test in a fork to avoid pollution and get clean output per test
|