gurke 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gurke/reporters/default_reporter.rb +2 -2
- data/lib/gurke/version.rb +1 -1
- data/spec/gurke/reporters/default_reporter_spec.rb +13 -0
- 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: 9474952db05f7f3aad5527b68c1258dc1042a16e0800ec6abb4ba3a1cf1a5062
|
4
|
+
data.tar.gz: b90e18c038a138852a4c0ef1de09d61ca3b05f677bc871d49996775fd8deb262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a504262150c0f0d6ec569b87a77d58584e0d7bebf1345f11c92aeb4f174dc74e0307f382d94360a70f60f27dfe12e48ea445d30061c6faaefd66e432ad17193
|
7
|
+
data.tar.gz: b4f543612efbb949c37d45e7a4bffe5b6e38d8cebe99e85b6dbd910eb0ccf29afe3968447f20e94db1c4b3451955b1b3d25c08e0f2dd02e828337a25b4f64b68
|
data/CHANGELOG.md
CHANGED
@@ -74,7 +74,7 @@ module Gurke::Reporters
|
|
74
74
|
end
|
75
75
|
|
76
76
|
def retry_scenario(*)
|
77
|
-
io.print " Retry flaky scenario due to previous failure:\n"
|
77
|
+
io.print "\n Retry flaky scenario due to previous failure:\n\n"
|
78
78
|
end
|
79
79
|
|
80
80
|
def after_scenario(*)
|
@@ -134,7 +134,7 @@ module Gurke::Reporters
|
|
134
134
|
end
|
135
135
|
|
136
136
|
def step_skipped(*)
|
137
|
-
io.print cyan 'skipped'
|
137
|
+
io.print status cyan 'skipped'
|
138
138
|
end
|
139
139
|
|
140
140
|
def print_exception(exception)
|
data/lib/gurke/version.rb
CHANGED
@@ -117,6 +117,17 @@ RSpec.describe Gurke::Reporters::DefaultReporter do
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
+
context 'with step pending' do
|
121
|
+
let(:state) { nil }
|
122
|
+
|
123
|
+
it do
|
124
|
+
is_expected.to eq unindent <<~TEXT
|
125
|
+
. (skipped)
|
126
|
+
.
|
127
|
+
TEXT
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
120
131
|
context 'with step failing' do
|
121
132
|
let(:state) { :failed }
|
122
133
|
|
@@ -166,8 +177,10 @@ RSpec.describe Gurke::Reporters::DefaultReporter do
|
|
166
177
|
|
167
178
|
it do
|
168
179
|
is_expected.to eq unindent <<~TEXT
|
180
|
+
.
|
169
181
|
. Retry flaky scenario due to previous failure:
|
170
182
|
.
|
183
|
+
.
|
171
184
|
TEXT
|
172
185
|
end
|
173
186
|
end
|