parallel_tests 0.16.8 → 0.16.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/Gemfile.lock +2 -2
- data/Readme.md +1 -1
- data/lib/parallel_tests/gherkin/runner.rb +3 -1
- data/lib/parallel_tests/version.rb +1 -1
- data/spec/integration_spec.rb +2 -0
- 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: 16e502a4de4ecb90d4993147c6b876f4b976d28b
|
4
|
+
data.tar.gz: 758bb96dc80b66d76246e802f6d1fd52d8bab312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 959fa04af26efc506b940cdd108a5268c36b73214c282b15f35bfeed5d1f182801e3c7191bc8b00593385ea4893ee7592032483ea05bac4ad036cf3544ecf93a
|
7
|
+
data.tar.gz: 0fda011e67b8c087d911137684066ee53ab7985ab6b26bf844a70ac64c45c43c15b89e6f1ff9d5e635c454a5bef1e9a9b3a3c68c7f9f61c984cb6218f3e92341
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
parallel_tests (0.16.
|
4
|
+
parallel_tests (0.16.9)
|
5
5
|
parallel
|
6
6
|
|
7
7
|
GEM
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
gherkin-ruby (0.3.0)
|
25
25
|
multi_json (1.8.2)
|
26
26
|
multi_test (0.0.2)
|
27
|
-
parallel (0.9.
|
27
|
+
parallel (0.9.2)
|
28
28
|
rake (10.0.3)
|
29
29
|
rspec (2.13.0)
|
30
30
|
rspec-core (~> 2.13.0)
|
data/Readme.md
CHANGED
@@ -210,7 +210,7 @@ TIPS
|
|
210
210
|
====
|
211
211
|
- [RSpec] add a `.rspec_parallel` to use different options, e.g. **no --drb**
|
212
212
|
- [RSpec] delete `script/spec`
|
213
|
-
- [[Spork](https://github.com/sporkrb/spork)] does not work with parallel_tests
|
213
|
+
- [[Spork](https://github.com/sporkrb/spork)] does not work with parallel_tests except when using [sqlite in memory](https://github.com/grosser/parallel_tests/wiki#wiki-with-spork)
|
214
214
|
- [RSpec] remove --loadby from you spec/*.opts
|
215
215
|
- [RSpec] Instantly see failures (instead of just a red F) with [rspec-instafail](https://github.com/grosser/rspec-instafail)
|
216
216
|
- [Bundler] if you have a `Gemfile` then `bundle exec` will be used to run tests
|
@@ -7,7 +7,9 @@ module ParallelTests
|
|
7
7
|
|
8
8
|
class << self
|
9
9
|
def run_tests(test_files, process_number, num_processes, options)
|
10
|
-
|
10
|
+
windows = (RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/) #Shellwords doesn't work for windows
|
11
|
+
sanitized_test_files = test_files.map { |val| windows ? "\"#{val}\"" : Shellwords.escape(val) }
|
12
|
+
|
11
13
|
options = options.merge(:env => {"AUTOTEST" => "1"}) if $stdout.tty? # display color when we are in a terminal
|
12
14
|
cmd = [
|
13
15
|
executable,
|
data/spec/integration_spec.rb
CHANGED
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: 0.16.
|
4
|
+
version: 0.16.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|