sus 0.35.1 → 0.35.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
- checksums.yaml.gz.sig +0 -0
- data/lib/sus/config.rb +12 -5
- data/lib/sus/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38873e75813a38f0b6a1d95006cf285ad40deabf372ea4dd6014e0ab41d994a9
|
|
4
|
+
data.tar.gz: 9d9bb3cbf3dc3eaba78d5ebe4880f3cef862cffbbb50f7760e27a994776c2ed4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e6bc26c14aaf3be9b3232eda519a47fa05b659ff4baf501da3c830548ead2e4125ab0e37c7a28693fd5fce93fd0aa122ea09ce3843a939170de4f1726f6decd
|
|
7
|
+
data.tar.gz: 100146d5119b3bdff4cfb924173385338dfba86ea1d65f11bd5270422d872185532c59857971e14afeeea2d0212e02d44b7449b1dedd1318030d1e5e41524a04
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/sus/config.rb
CHANGED
|
@@ -168,11 +168,14 @@ module Sus
|
|
|
168
168
|
|
|
169
169
|
print_finished_statistics(output, assertions)
|
|
170
170
|
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
unless assertions.count.zero?
|
|
172
|
+
if !partial? and assertions.passed?
|
|
173
|
+
print_test_feedback(output, assertions)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
print_slow_tests(output, assertions)
|
|
173
177
|
end
|
|
174
178
|
|
|
175
|
-
print_slow_tests(output, assertions)
|
|
176
179
|
print_failed_assertions(output, assertions)
|
|
177
180
|
end
|
|
178
181
|
|
|
@@ -181,9 +184,13 @@ module Sus
|
|
|
181
184
|
# @parameter assertions [Assertions] The assertions instance.
|
|
182
185
|
def print_finished_statistics(output, assertions)
|
|
183
186
|
duration = @clock.duration
|
|
184
|
-
rate = assertions.count / duration
|
|
185
187
|
|
|
186
|
-
|
|
188
|
+
if assertions.count.zero?
|
|
189
|
+
output.puts "🏴 Finished in ", @clock, "."
|
|
190
|
+
else
|
|
191
|
+
rate = assertions.count / duration
|
|
192
|
+
output.puts "🏁 Finished in ", @clock, "; #{rate.round(3)} assertions per second."
|
|
193
|
+
end
|
|
187
194
|
end
|
|
188
195
|
|
|
189
196
|
# Print feedback about the test suite.
|
data/lib/sus/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|