zeus-parallel_tests 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/zeus/parallel_tests/version.rb +1 -1
- data/spec/dummy/Guardfile +23 -0
- data/zeus-parallel_tests.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4846dce71bb2673e1beb9b4c0f3fbd6ca3b1174c
|
4
|
+
data.tar.gz: 82ae724c1e286179475b20309db267bd7c70a9c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21a77bb937642366b71a2e21fc75245c6b76a2fe31de55126c7cd3ccfdb63ac7fd4985f7fbff2f349c7a8d8cec70c5c3609657bce4ae332fe781bdd1be8987cd
|
7
|
+
data.tar.gz: a2cb9c339479dec241e1382a54fbd3ecd1bb8e3116d857c06141dbeaf8b437f4426be4734a66434f59c685c97ef0628a5834f557a5bcd445edbc3246ba0d8e4b
|
data/README.md
CHANGED
@@ -107,13 +107,12 @@ or your cucumbers:
|
|
107
107
|
|
108
108
|
* rspec
|
109
109
|
* cucumber
|
110
|
+
* guard-rspec (just pass `zeus: true` and `parallel: true` into configuration hash, you can play with `bundler: false` option to speed things up)
|
110
111
|
|
111
112
|
## TODO
|
112
113
|
|
113
|
-
* smoke tests
|
114
114
|
* minitest support
|
115
|
-
|
116
|
-
* guard-rspec <del>(just pass `zeus: true` and `parallel: true` into configuration hash)</del>
|
115
|
+
|
117
116
|
|
118
117
|
## Contributing
|
119
118
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard 'rspec', zeus: true, parallel: true do
|
5
|
+
watch(%r{^spec/.+_spec\.rb$})
|
6
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
+
watch('spec/spec_helper.rb') { "spec" }
|
8
|
+
|
9
|
+
# Rails example
|
10
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
11
|
+
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
12
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
13
|
+
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
14
|
+
watch('config/routes.rb') { "spec/routing" }
|
15
|
+
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
16
|
+
|
17
|
+
# Capybara features specs
|
18
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
19
|
+
|
20
|
+
# Turnip features and steps
|
21
|
+
watch(%r{^spec/acceptance/(.+)\.feature$})
|
22
|
+
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
|
23
|
+
end
|
data/zeus-parallel_tests.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "zeus", "~> 0.13.3"
|
22
|
-
spec.add_dependency "parallel_tests", "~> 0.
|
22
|
+
spec.add_dependency "parallel_tests", "~> 0.11.3"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.3"
|
25
25
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zeus-parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artur Roszczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeus
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.11.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.11.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- spec/dummy/.ruby-gemset
|
110
110
|
- spec/dummy/.ruby-version
|
111
111
|
- spec/dummy/Gemfile
|
112
|
+
- spec/dummy/Guardfile
|
112
113
|
- spec/dummy/README.rdoc
|
113
114
|
- spec/dummy/Rakefile
|
114
115
|
- spec/dummy/app/assets/images/rails.png
|
@@ -188,6 +189,7 @@ test_files:
|
|
188
189
|
- spec/dummy/.ruby-gemset
|
189
190
|
- spec/dummy/.ruby-version
|
190
191
|
- spec/dummy/Gemfile
|
192
|
+
- spec/dummy/Guardfile
|
191
193
|
- spec/dummy/README.rdoc
|
192
194
|
- spec/dummy/Rakefile
|
193
195
|
- spec/dummy/app/assets/images/rails.png
|