rspec-abq 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/abq/extensions.rb +10 -4
- data/lib/rspec/abq/version.rb +1 -1
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b0646cb04737a465bc4d6e970f646467c0c99216dbfea158be227a310d1788f
|
4
|
+
data.tar.gz: 23433a92ba1b15d82c4466f1deea8702ea5757aa7c01c73e84e85468430b9227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4034da120d1294a140edc8ac8f96d2f85aba0e0ea14092a8152f43154634b395391bfd04a80c9191cf7ab58c5b7598855628a144d2b4a73ebe9a7b3798f632dc
|
7
|
+
data.tar.gz: de01483d3b19fc944832eda36f36398dd99cbf41a9cec52c3fb585d8189edeb1546046352db654f87411c6d923209f08820b6ed6eadc4096f20a2f0cd3dab79f
|
data/lib/rspec/abq/extensions.rb
CHANGED
@@ -78,7 +78,12 @@ module RSpec
|
|
78
78
|
results_for_descendants = ordering_strategy.order(children).map { |child| child.run_with_abq(reporter) }.all?
|
79
79
|
result_for_this_group && results_for_descendants
|
80
80
|
rescue RSpec::Core::Pending::SkipDeclaredInExample => ex
|
81
|
-
for_filtered_examples(reporter)
|
81
|
+
for_filtered_examples(reporter) do |example|
|
82
|
+
if Abq.target_test_case.is_example?(example)
|
83
|
+
example.skip_with_exception(reporter, ex)
|
84
|
+
Abq.fetch_next_example
|
85
|
+
end
|
86
|
+
end
|
82
87
|
true
|
83
88
|
rescue RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue => ex
|
84
89
|
# If an exception reaches here, that means we must fail the entire
|
@@ -87,9 +92,10 @@ module RSpec
|
|
87
92
|
# be sent to us from ABQ, we now loop over all the examples, and mark
|
88
93
|
# every one that we must run in this group as a failure.
|
89
94
|
for_filtered_examples(reporter) do |example|
|
90
|
-
|
91
|
-
|
92
|
-
|
95
|
+
if Abq.target_test_case.is_example?(example)
|
96
|
+
example.fail_with_exception(reporter, ex)
|
97
|
+
Abq.fetch_next_example
|
98
|
+
end
|
93
99
|
end
|
94
100
|
|
95
101
|
false
|
data/lib/rspec/abq/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-abq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ayaz Hafiz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec-core
|
@@ -87,6 +87,20 @@ dependencies:
|
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 4.1.0
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: nokogiri
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.13.10
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.13.10
|
90
104
|
- !ruby/object:Gem::Dependency
|
91
105
|
name: webdrivers
|
92
106
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,6 +157,20 @@ dependencies:
|
|
143
157
|
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
159
|
version: 2.2.1
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: simplecov
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.22.0
|
167
|
+
type: :development
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.22.0
|
146
174
|
description: RSpec::Abq is an rspec plugin that replaces its ordering with one that
|
147
175
|
is controlled by abq. It allows for parallelization of rspec on a single machine
|
148
176
|
or across multiple workers.
|
@@ -187,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
215
|
- !ruby/object:Gem::Version
|
188
216
|
version: '0'
|
189
217
|
requirements: []
|
190
|
-
rubygems_version: 3.
|
218
|
+
rubygems_version: 3.3.7
|
191
219
|
signing_key:
|
192
220
|
specification_version: 4
|
193
221
|
summary: RSpec::Abq allows for parallel rspec runs using abq
|