rspec-abq 0.2.1 → 0.2.3
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 +7 -1
- data/lib/rspec/abq/version.rb +1 -1
- data/lib/rspec/abq.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b557bc426714348e47f3ba73ee8e0ce0b6fafb5b4d3dc0c6e85a9ec3de1c5cc
|
4
|
+
data.tar.gz: b17052dbd54886a13af1321a2d734b9469fecb73f2a74705dc24e6aca7602dff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35a9ea25c2d6d4120285cafb5aba218a1f31049f497c9b83e3ee8de97625bd32a1dcfb88a85b59d6dd0b1ed1d2bb66b5f59905408744d65a1e3788ccad1c0504
|
7
|
+
data.tar.gz: 89bea90930631ee7ad6b1e05fdc3507093af3deded8c74577f1162ce45099488ba1e455e8a8f89c340c20a66386cf8f19758f3ac039e8e06f6058821a87974e9
|
data/lib/rspec/abq/extensions.rb
CHANGED
@@ -36,7 +36,13 @@ module RSpec
|
|
36
36
|
instance = new(considered_example.inspect_output)
|
37
37
|
set_ivars(instance, before_context_ivars)
|
38
38
|
|
39
|
-
|
39
|
+
# note: it looks like we can inline the next two lines.
|
40
|
+
# DON'T DO IT!
|
41
|
+
# true &&= expression : expression will be run, fine!
|
42
|
+
# false &&= expression: expression will NOT be run! bad!
|
43
|
+
# we want to always run the test, even if the previous test failed.
|
44
|
+
result = Abq.send_test_result_and_advance { |abq_reporter| considered_example.run(instance, abq_reporter) }
|
45
|
+
all_examples_succeeded &&= result
|
40
46
|
|
41
47
|
break unless Abq.target_test_case.directly_in_group?(self)
|
42
48
|
end
|
data/lib/rspec/abq/version.rb
CHANGED
data/lib/rspec/abq.rb
CHANGED
@@ -113,7 +113,7 @@ module RSpec
|
|
113
113
|
init_message = protocol_read
|
114
114
|
protocol_write(INIT_SUCCESS_MESSAGE)
|
115
115
|
# TODO: delete the check for empty init_meta when https://github.com/rwx-research/abq/pull/216 is merged
|
116
|
-
|
116
|
+
unless init_message["fast_exit"]
|
117
117
|
Ordering.setup!(init_message["init_meta"], RSpec.configuration)
|
118
118
|
fetch_next_example
|
119
119
|
end
|