moxiesoft_parallel_tests 0.4.12 → 0.4.13
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/parallel_tests.rb +2 -0
- data/moxiesoft_parallel_tests.gemspec +65 -0
- metadata +8 -14
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ begin
|
|
11
11
|
gem.summary = "Run tests / specs / features in parallel"
|
12
12
|
gem.email = "grosser.michael@gmail.com"
|
13
13
|
gem.homepage = "http://github.com/edebill-moxiesoft/#{gem.name}"
|
14
|
-
gem.authors = ['Michael Grosser', '
|
14
|
+
gem.authors = ['Michael Grosser', 'Erik DeBill']
|
15
15
|
gem.add_dependency "parallel"
|
16
16
|
end
|
17
17
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.13
|
data/lib/parallel_tests.rb
CHANGED
@@ -40,6 +40,7 @@ class ParallelTests
|
|
40
40
|
|
41
41
|
def self.execute_command(cmd, process_number)
|
42
42
|
cmd = "TEST_ENV_NUMBER=#{test_env_number(process_number)} ; export TEST_ENV_NUMBER; #{cmd}"
|
43
|
+
print "starting #{cmd}"
|
43
44
|
f = open("|#{cmd}", 'r')
|
44
45
|
all = ''
|
45
46
|
while char = f.getc
|
@@ -49,6 +50,7 @@ class ParallelTests
|
|
49
50
|
STDOUT.flush
|
50
51
|
end
|
51
52
|
f.close
|
53
|
+
print "finished #{cmd}"
|
52
54
|
{:stdout => all, :exit_status => $?.exitstatus}
|
53
55
|
end
|
54
56
|
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{moxiesoft_parallel_tests}
|
8
|
+
s.version = "0.4.13"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Michael Grosser", "Erik DeBill"]
|
12
|
+
s.date = %q{2011-10-06}
|
13
|
+
s.email = %q{grosser.michael@gmail.com}
|
14
|
+
s.executables = ["parallel_cucumber", "parallel_spec", "parallel_test"]
|
15
|
+
s.files = [
|
16
|
+
".gitignore",
|
17
|
+
"Gemfile",
|
18
|
+
"Gemfile.lock",
|
19
|
+
"Rakefile",
|
20
|
+
"Readme.md",
|
21
|
+
"VERSION",
|
22
|
+
"bin/parallel_cucumber",
|
23
|
+
"bin/parallel_spec",
|
24
|
+
"bin/parallel_test",
|
25
|
+
"lib/parallel_cucumber.rb",
|
26
|
+
"lib/parallel_specs.rb",
|
27
|
+
"lib/parallel_specs/spec_runtime_logger.rb",
|
28
|
+
"lib/parallel_tests.rb",
|
29
|
+
"lib/parallel_tests/grouper.rb",
|
30
|
+
"lib/parallel_tests/railtie.rb",
|
31
|
+
"lib/parallel_tests/tasks.rb",
|
32
|
+
"lib/tasks/parallel_tests.rake",
|
33
|
+
"moxiesoft_parallel_tests.gemspec",
|
34
|
+
"spec/integration_spec.rb",
|
35
|
+
"spec/parallel_cucumber_spec.rb",
|
36
|
+
"spec/parallel_specs_spec.rb",
|
37
|
+
"spec/parallel_tests_spec.rb",
|
38
|
+
"spec/spec_helper.rb"
|
39
|
+
]
|
40
|
+
s.homepage = %q{http://github.com/edebill-moxiesoft/moxiesoft_parallel_tests}
|
41
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubygems_version = %q{1.6.1}
|
44
|
+
s.summary = %q{Run tests / specs / features in parallel}
|
45
|
+
s.test_files = [
|
46
|
+
"spec/integration_spec.rb",
|
47
|
+
"spec/parallel_cucumber_spec.rb",
|
48
|
+
"spec/parallel_specs_spec.rb",
|
49
|
+
"spec/parallel_tests_spec.rb",
|
50
|
+
"spec/spec_helper.rb"
|
51
|
+
]
|
52
|
+
|
53
|
+
if s.respond_to? :specification_version then
|
54
|
+
s.specification_version = 3
|
55
|
+
|
56
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
57
|
+
s.add_runtime_dependency(%q<parallel>, [">= 0"])
|
58
|
+
else
|
59
|
+
s.add_dependency(%q<parallel>, [">= 0"])
|
60
|
+
end
|
61
|
+
else
|
62
|
+
s.add_dependency(%q<parallel>, [">= 0"])
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moxiesoft_parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 12
|
9
|
-
version: 0.4.12
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.13
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Michael Grosser
|
13
|
-
-
|
9
|
+
- Erik DeBill
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
13
|
|
18
|
-
date: 2011-
|
14
|
+
date: 2011-10-06 00:00:00 -05:00
|
19
15
|
default_executable:
|
20
16
|
dependencies:
|
21
17
|
- !ruby/object:Gem::Dependency
|
22
18
|
name: parallel
|
23
|
-
prerelease: false
|
24
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
20
|
none: false
|
26
21
|
requirements:
|
27
22
|
- - ">="
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
segments:
|
30
|
-
- 0
|
31
24
|
version: "0"
|
32
25
|
type: :runtime
|
26
|
+
prerelease: false
|
33
27
|
version_requirements: *id001
|
34
28
|
description:
|
35
29
|
email: grosser.michael@gmail.com
|
@@ -59,6 +53,7 @@ files:
|
|
59
53
|
- lib/parallel_tests/railtie.rb
|
60
54
|
- lib/parallel_tests/tasks.rb
|
61
55
|
- lib/tasks/parallel_tests.rake
|
56
|
+
- moxiesoft_parallel_tests.gemspec
|
62
57
|
- spec/integration_spec.rb
|
63
58
|
- spec/parallel_cucumber_spec.rb
|
64
59
|
- spec/parallel_specs_spec.rb
|
@@ -78,6 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
73
|
requirements:
|
79
74
|
- - ">="
|
80
75
|
- !ruby/object:Gem::Version
|
76
|
+
hash: -4444091468267362963
|
81
77
|
segments:
|
82
78
|
- 0
|
83
79
|
version: "0"
|
@@ -86,13 +82,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
82
|
requirements:
|
87
83
|
- - ">="
|
88
84
|
- !ruby/object:Gem::Version
|
89
|
-
segments:
|
90
|
-
- 0
|
91
85
|
version: "0"
|
92
86
|
requirements: []
|
93
87
|
|
94
88
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.
|
89
|
+
rubygems_version: 1.6.1
|
96
90
|
signing_key:
|
97
91
|
specification_version: 3
|
98
92
|
summary: Run tests / specs / features in parallel
|