test_bench 1.0.0.0 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_bench/output/levels/pass.rb +22 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08a857025639ac3bcb5ea0ecb42eb23595178ee58d4a66978928b1b2da78ecfb'
|
4
|
+
data.tar.gz: 1ff0bb27651ac0e4d610739e5ac166c88f506eef2c207b5a054dcb94a5c50ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f735070a18498f598378e84777e89ca0f867b912fa6e6eb635bd0f8205e8627c63f2971e016a7a38f09e7d2817902f9495c06a81c37a4b70ad0a5b80dee9d099
|
7
|
+
data.tar.gz: ed26175bdd5e73c5c9eafdaf903fd86ee9fd1b52f116d4593caa110a61e6e9cd5e492711003e41813c017be090b29a62bbe8180c280f27e78b84c3aaa45cf2a5
|
@@ -95,12 +95,18 @@ module TestBench
|
|
95
95
|
end
|
96
96
|
|
97
97
|
def skip_test(title)
|
98
|
+
title ||= 'Test'
|
99
|
+
|
98
100
|
writer.indent
|
99
101
|
|
100
|
-
writer
|
101
|
-
|
102
|
-
|
103
|
-
|
102
|
+
if writer.styling?
|
103
|
+
writer
|
104
|
+
.escape_code(:yellow)
|
105
|
+
.text(title)
|
106
|
+
.escape_code(:reset_fg)
|
107
|
+
else
|
108
|
+
writer.text("#{title} (skipped)")
|
109
|
+
end
|
104
110
|
|
105
111
|
writer.newline
|
106
112
|
end
|
@@ -139,12 +145,18 @@ module TestBench
|
|
139
145
|
def skip_context(title)
|
140
146
|
return if title.nil?
|
141
147
|
|
142
|
-
writer
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
+
writer.indent
|
149
|
+
|
150
|
+
if writer.styling?
|
151
|
+
writer
|
152
|
+
.escape_code(:yellow)
|
153
|
+
.text(title)
|
154
|
+
.escape_code(:reset_fg)
|
155
|
+
else
|
156
|
+
writer.text("#{title} (skipped)")
|
157
|
+
end
|
158
|
+
|
159
|
+
writer.newline
|
148
160
|
|
149
161
|
writer.newline if writer.indentation_depth.zero?
|
150
162
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_bench
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Ladd
|
8
8
|
autorequire:
|
9
9
|
bindir: script
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test_bench-fixture
|