parallel_tests 0.3.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/parallel_cucumber.rb +1 -1
- data/lib/parallel_specs.rb +1 -1
- data/lib/parallel_tests.rb +1 -1
- data/parallel_tests.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/lib/parallel_cucumber.rb
CHANGED
@@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), 'parallel_tests')
|
|
3
3
|
class ParallelCucumber < ParallelTests
|
4
4
|
def self.run_tests(test_files, process_number, options)
|
5
5
|
color = ($stdout.tty? ? 'AUTOTEST=1 ; export AUTOTEST ;' : '')#display color when we are in a terminal
|
6
|
-
cmd = "
|
6
|
+
cmd = "#{color} #{executable} #{options} #{test_files*' '}"
|
7
7
|
execute_command(cmd, process_number)
|
8
8
|
end
|
9
9
|
|
data/lib/parallel_specs.rb
CHANGED
@@ -2,7 +2,7 @@ require File.join(File.dirname(__FILE__), 'parallel_tests')
|
|
2
2
|
|
3
3
|
class ParallelSpecs < ParallelTests
|
4
4
|
def self.run_tests(test_files, process_number, options)
|
5
|
-
cmd = "
|
5
|
+
cmd = "#{color} #{executable} #{options} #{spec_opts} #{test_files*' '}"
|
6
6
|
execute_command(cmd, process_number)
|
7
7
|
end
|
8
8
|
|
data/lib/parallel_tests.rb
CHANGED
@@ -28,7 +28,7 @@ class ParallelTests
|
|
28
28
|
|
29
29
|
def self.run_tests(test_files, process_number, options)
|
30
30
|
require_list = test_files.map { |filename| "\"#{filename}\"" }.join(",")
|
31
|
-
cmd = "
|
31
|
+
cmd = "ruby -Itest #{options} -e '[#{require_list}].each {|f| require f }'"
|
32
32
|
execute_command(cmd, process_number)
|
33
33
|
end
|
34
34
|
|
data/parallel_tests.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{parallel_tests}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Grosser"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-29}
|
13
13
|
s.email = %q{grosser.michael@gmail.com}
|
14
14
|
s.executables = ["parallel_spec", "parallel_cucumber", "parallel_test"]
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 4
|
8
|
+
- 0
|
9
|
+
version: 0.4.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Michael Grosser
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-29 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|