cucumber 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -1
- data/LICENSE +1 -1
- data/Rakefile +5 -51
- data/bin/cucumber +7 -1
- data/cucumber.gemspec +463 -679
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/he/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +4 -7
- data/examples/i18n/ru/features/division.feature +2 -2
- data/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +3 -3
- data/examples/sinatra/features/support/env.rb +2 -5
- data/examples/v8/features/fibonacci.feature +1 -1
- data/examples/watir/features/step_definitions/search_steps.rb +1 -1
- data/features/background.feature +284 -95
- data/features/custom_formatter.feature +3 -73
- data/features/json_formatter.feature +160 -245
- data/features/step_definitions/cucumber_steps.rb +7 -153
- data/features/support/env.rb +18 -140
- data/fixtures/junit/features/pending.feature +3 -1
- data/fixtures/self_test/features/support/env.rb +8 -0
- data/fixtures/tickets/features.html +1 -1
- data/gem_tasks/examples.rake +1 -1
- data/lib/cucumber.rb +12 -0
- data/lib/cucumber/ast.rb +1 -1
- data/lib/cucumber/ast/background.rb +21 -5
- data/lib/cucumber/ast/examples.rb +12 -4
- data/lib/cucumber/ast/feature.rb +13 -5
- data/lib/cucumber/ast/feature_element.rb +9 -4
- data/lib/cucumber/ast/outline_table.rb +4 -4
- data/lib/cucumber/ast/scenario.rb +7 -5
- data/lib/cucumber/ast/scenario_outline.rb +23 -15
- data/lib/cucumber/ast/step.rb +5 -0
- data/lib/cucumber/ast/step_invocation.rb +21 -15
- data/lib/cucumber/ast/table.rb +14 -8
- data/lib/cucumber/ast/tree_walker.rb +10 -48
- data/lib/cucumber/cli/configuration.rb +33 -8
- data/lib/cucumber/cli/main.rb +20 -35
- data/lib/cucumber/cli/options.rb +8 -7
- data/lib/cucumber/cli/profile_loader.rb +2 -0
- data/lib/cucumber/core_ext/proc.rb +2 -1
- data/lib/cucumber/feature_file.rb +47 -15
- data/lib/cucumber/formatter/ansicolor.rb +3 -5
- data/lib/cucumber/formatter/console.rb +27 -23
- data/lib/cucumber/formatter/cucumber.css +34 -17
- data/lib/cucumber/formatter/cucumber.sass +173 -182
- data/lib/cucumber/formatter/html.rb +46 -11
- data/lib/cucumber/formatter/io.rb +2 -4
- data/lib/cucumber/formatter/json.rb +15 -152
- data/lib/cucumber/formatter/json_pretty.rb +5 -6
- data/lib/cucumber/formatter/junit.rb +28 -22
- data/lib/cucumber/formatter/pdf.rb +6 -6
- data/lib/cucumber/formatter/pretty.rb +5 -5
- data/lib/cucumber/formatter/rerun.rb +22 -11
- data/lib/cucumber/formatter/unicode.rb +41 -20
- data/lib/cucumber/js_support/js_dsl.js +4 -4
- data/lib/cucumber/js_support/js_language.rb +9 -5
- data/lib/cucumber/js_support/js_snippets.rb +2 -2
- data/lib/cucumber/language_support.rb +2 -2
- data/lib/cucumber/parser/gherkin_builder.rb +35 -30
- data/lib/cucumber/platform.rb +8 -8
- data/lib/cucumber/py_support/py_language.rb +2 -2
- data/lib/cucumber/rake/task.rb +80 -31
- data/lib/cucumber/rb_support/rb_dsl.rb +1 -0
- data/lib/cucumber/rb_support/rb_language.rb +10 -8
- data/lib/cucumber/rb_support/rb_step_definition.rb +8 -0
- data/lib/cucumber/rb_support/rb_transform.rb +17 -0
- data/lib/cucumber/rb_support/rb_world.rb +26 -18
- data/lib/cucumber/rspec/doubles.rb +3 -3
- data/lib/cucumber/step_match.rb +6 -2
- data/lib/cucumber/step_mother.rb +6 -427
- data/lib/cucumber/wire_support/configuration.rb +4 -1
- data/lib/cucumber/wire_support/wire_language.rb +3 -10
- data/spec/cucumber/ast/background_spec.rb +68 -6
- data/spec/cucumber/ast/feature_factory.rb +5 -4
- data/spec/cucumber/ast/feature_spec.rb +4 -4
- data/spec/cucumber/ast/outline_table_spec.rb +1 -1
- data/spec/cucumber/ast/scenario_outline_spec.rb +15 -11
- data/spec/cucumber/ast/scenario_spec.rb +4 -4
- data/spec/cucumber/ast/step_spec.rb +3 -3
- data/spec/cucumber/ast/table_spec.rb +38 -2
- data/spec/cucumber/ast/tree_walker_spec.rb +2 -2
- data/spec/cucumber/broadcaster_spec.rb +1 -1
- data/spec/cucumber/cli/configuration_spec.rb +32 -6
- data/spec/cucumber/cli/drb_client_spec.rb +2 -3
- data/spec/cucumber/cli/main_spec.rb +43 -43
- data/spec/cucumber/cli/options_spec.rb +28 -1
- data/spec/cucumber/cli/profile_loader_spec.rb +1 -1
- data/spec/cucumber/core_ext/proc_spec.rb +1 -1
- data/spec/cucumber/formatter/ansicolor_spec.rb +1 -1
- data/spec/cucumber/formatter/duration_spec.rb +1 -1
- data/spec/cucumber/formatter/html_spec.rb +3 -5
- data/spec/cucumber/formatter/junit_spec.rb +16 -2
- data/spec/cucumber/formatter/progress_spec.rb +1 -1
- data/spec/cucumber/formatter/spec_helper.rb +11 -12
- data/spec/cucumber/rb_support/rb_language_spec.rb +241 -28
- data/spec/cucumber/rb_support/rb_step_definition_spec.rb +33 -28
- data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +1 -1
- data/spec/cucumber/step_match_spec.rb +11 -9
- data/spec/cucumber/wire_support/configuration_spec.rb +1 -1
- data/spec/cucumber/wire_support/connection_spec.rb +1 -1
- data/spec/cucumber/wire_support/wire_exception_spec.rb +1 -1
- data/spec/cucumber/wire_support/wire_language_spec.rb +1 -1
- data/spec/cucumber/wire_support/wire_packet_spec.rb +1 -1
- data/spec/cucumber/wire_support/wire_step_definition_spec.rb +1 -1
- data/spec/cucumber/world/pending_spec.rb +2 -2
- data/spec/spec_helper.rb +13 -20
- metadata +11 -222
- data/.gitignore +0 -20
- data/Caliper.yml +0 -4
- data/History.txt +0 -1552
- data/README.rdoc +0 -26
- data/VERSION.yml +0 -5
- data/examples/i18n/ro/features/suma.feature +0 -11
- data/features/announce.feature +0 -164
- data/features/around_hooks.feature +0 -232
- data/features/bug_371.feature +0 -32
- data/features/bug_464.feature +0 -16
- data/features/bug_475.feature +0 -42
- data/features/bug_585_tab_indentation.feature +0 -22
- data/features/bug_600.feature +0 -67
- data/features/call_steps_from_stepdefs.feature +0 -154
- data/features/cucumber_cli.feature +0 -591
- data/features/cucumber_cli_outlines.feature +0 -117
- data/features/default_snippets.feature +0 -42
- data/features/diffing.feature +0 -25
- data/features/drb_server_integration.feature +0 -174
- data/features/exception_in_after_block.feature +0 -127
- data/features/exception_in_after_step_block.feature +0 -104
- data/features/exception_in_before_block.feature +0 -98
- data/features/exclude_files.feature +0 -20
- data/features/expand.feature +0 -60
- data/features/html_formatter.feature +0 -8
- data/features/html_formatter/a.html +0 -582
- data/features/junit_formatter.feature +0 -88
- data/features/language_from_header.feature +0 -30
- data/features/language_help.feature +0 -78
- data/features/listener_debugger_formatter.feature +0 -42
- data/features/multiline_names.feature +0 -44
- data/features/negative_tagged_hooks.feature +0 -60
- data/features/post_configuration_hook.feature +0 -37
- data/features/profiles.feature +0 -126
- data/features/rake_task.feature +0 -152
- data/features/report_called_undefined_steps.feature +0 -34
- data/features/rerun_formatter.feature +0 -45
- data/features/simplest.feature +0 -11
- data/features/snippet.feature +0 -23
- data/features/snippets_when_using_star_keyword.feature +0 -36
- data/features/step_definitions/extra_steps.rb +0 -2
- data/features/step_definitions/simplest_steps.rb +0 -3
- data/features/step_definitions/wire_steps.rb +0 -32
- data/features/support/env.rb.simplest +0 -7
- data/features/support/fake_wire_server.rb +0 -77
- data/features/table_diffing.feature +0 -45
- data/features/table_mapping.feature +0 -34
- data/features/tag_logic.feature +0 -258
- data/features/transform.feature +0 -245
- data/features/unicode_table.feature +0 -35
- data/features/usage_and_stepdefs_formatter.feature +0 -169
- data/features/wire_protocol.feature +0 -332
- data/features/wire_protocol_table_diffing.feature +0 -119
- data/features/wire_protocol_tags.feature +0 -87
- data/features/wire_protocol_timeouts.feature +0 -63
- data/features/work_in_progress.feature +0 -156
- data/fixtures/json/features/pystring.feature +0 -8
- data/fixtures/self_test/features/background/background_tagged_before_on_outline.feature +0 -12
- data/fixtures/self_test/features/background/background_with_name.feature +0 -7
- data/fixtures/self_test/features/background/failing_background.feature +0 -12
- data/fixtures/self_test/features/background/failing_background_after_success.feature +0 -11
- data/fixtures/self_test/features/background/multiline_args_background.feature +0 -32
- data/fixtures/self_test/features/background/passing_background.feature +0 -10
- data/fixtures/self_test/features/background/pending_background.feature +0 -10
- data/fixtures/self_test/features/background/scenario_outline_failing_background.feature +0 -16
- data/fixtures/self_test/features/background/scenario_outline_passing_background.feature +0 -16
- data/gem_tasks/features.rake +0 -14
- data/gem_tasks/sdoc.rake +0 -12
- data/lib/cucumber/ast/py_string.rb +0 -80
- data/lib/cucumber/formatter/color_io.rb +0 -23
- data/lib/cucumber/formatter/tag_cloud.rb +0 -35
- data/spec/cucumber/ast/py_string_spec.rb +0 -40
- data/spec/cucumber/formatter/color_io_spec.rb +0 -29
- data/spec/cucumber/step_mother_spec.rb +0 -302
@@ -26,13 +26,15 @@ module Cucumber
|
|
26
26
|
format_string(line, status)
|
27
27
|
end
|
28
28
|
|
29
|
-
def format_string(
|
29
|
+
def format_string(o, status)
|
30
30
|
fmt = format_for(status)
|
31
|
-
|
32
|
-
fmt
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
o.to_s.split("\n").map do |line|
|
32
|
+
if Proc === fmt
|
33
|
+
fmt.call(line)
|
34
|
+
else
|
35
|
+
fmt % line
|
36
|
+
end
|
37
|
+
end.join("\n")
|
36
38
|
end
|
37
39
|
|
38
40
|
def print_steps(status)
|
@@ -125,43 +127,45 @@ module Cucumber
|
|
125
127
|
end
|
126
128
|
end
|
127
129
|
|
128
|
-
def embed(file, mime_type)
|
130
|
+
def embed(file, mime_type, label)
|
129
131
|
# no-op
|
130
132
|
end
|
131
133
|
|
132
|
-
#define @
|
134
|
+
#define @delayed_messages = [] in your Formatter if you want to
|
133
135
|
#activate this feature
|
134
|
-
def
|
135
|
-
if @
|
136
|
-
@
|
136
|
+
def puts(*messages)
|
137
|
+
if @delayed_messages
|
138
|
+
@delayed_messages += messages
|
137
139
|
else
|
138
140
|
if @io
|
139
141
|
@io.puts
|
140
|
-
|
142
|
+
messages.each do |message|
|
143
|
+
@io.puts(format_string(message, :tag))
|
144
|
+
end
|
141
145
|
@io.flush
|
142
146
|
end
|
143
147
|
end
|
144
148
|
end
|
145
149
|
|
146
|
-
def
|
147
|
-
@
|
148
|
-
|
150
|
+
def print_messages
|
151
|
+
@delayed_messages.each {|message| print_message(message)}
|
152
|
+
empty_messages
|
149
153
|
end
|
150
154
|
|
151
|
-
def
|
152
|
-
return if @
|
153
|
-
@io.print(format_string(@
|
155
|
+
def print_table_row_messages
|
156
|
+
return if @delayed_messages.empty?
|
157
|
+
@io.print(format_string(@delayed_messages.join(', '), :tag).indent(2))
|
154
158
|
@io.flush
|
155
|
-
|
159
|
+
empty_messages
|
156
160
|
end
|
157
161
|
|
158
|
-
def
|
159
|
-
@io.puts(format_string(
|
162
|
+
def print_message(message)
|
163
|
+
@io.puts(format_string(message, :tag).indent(@indent))
|
160
164
|
@io.flush
|
161
165
|
end
|
162
166
|
|
163
|
-
def
|
164
|
-
@
|
167
|
+
def empty_messages
|
168
|
+
@delayed_messages = []
|
165
169
|
end
|
166
170
|
|
167
171
|
private
|
@@ -2,7 +2,7 @@
|
|
2
2
|
/* Regenerate with rake sass */
|
3
3
|
body {
|
4
4
|
font-size: 0px;
|
5
|
-
color:
|
5
|
+
color: white;
|
6
6
|
margin: 0px;
|
7
7
|
padding: 0px;
|
8
8
|
}
|
@@ -10,11 +10,11 @@ body {
|
|
10
10
|
.cucumber, td, th {
|
11
11
|
font: normal 11px "Lucida Grande", Helvetica, sans-serif;
|
12
12
|
background: white;
|
13
|
-
color:
|
13
|
+
color: black;
|
14
14
|
}
|
15
15
|
.cucumber #cucumber-header, td #cucumber-header, th #cucumber-header {
|
16
|
-
background: #
|
17
|
-
color:
|
16
|
+
background: #65c400;
|
17
|
+
color: white;
|
18
18
|
height: 6em;
|
19
19
|
}
|
20
20
|
.cucumber #cucumber-header #expand-collapse p, td #cucumber-header #expand-collapse p, th #cucumber-header #expand-collapse p {
|
@@ -25,8 +25,8 @@ body {
|
|
25
25
|
font-size: 11px;
|
26
26
|
padding: 3px;
|
27
27
|
margin: 0;
|
28
|
-
background: #
|
29
|
-
color:
|
28
|
+
background: #65c400;
|
29
|
+
color: white;
|
30
30
|
font-weight: bold;
|
31
31
|
}
|
32
32
|
.cucumber h1, td h1, th h1 {
|
@@ -62,19 +62,23 @@ body {
|
|
62
62
|
.cucumber .step_file a, td .step_file a, th .step_file a {
|
63
63
|
color: #999999;
|
64
64
|
}
|
65
|
+
.cucumber .scenario_file, td .scenario_file, th .scenario_file {
|
66
|
+
float: right;
|
67
|
+
color: #999999;
|
68
|
+
}
|
65
69
|
.cucumber .tag, td .tag, th .tag {
|
66
70
|
font-weight: bold;
|
67
|
-
color: #
|
71
|
+
color: #246ac1;
|
68
72
|
}
|
69
73
|
.cucumber .backtrace, td .backtrace, th .backtrace {
|
70
74
|
margin-top: 0;
|
71
75
|
margin-bottom: 0;
|
72
76
|
margin-left: 1em;
|
73
|
-
color:
|
77
|
+
color: black;
|
74
78
|
}
|
75
79
|
.cucumber a, td a, th a {
|
76
80
|
text-decoration: none;
|
77
|
-
color: #
|
81
|
+
color: #be5c00;
|
78
82
|
}
|
79
83
|
.cucumber a:hover, td a:hover, th a:hover {
|
80
84
|
text-decoration: underline;
|
@@ -84,7 +88,7 @@ body {
|
|
84
88
|
}
|
85
89
|
.cucumber a div.examples, td a div.examples, th a div.examples {
|
86
90
|
margin: 5px 0px 5px 15px;
|
87
|
-
color:
|
91
|
+
color: black;
|
88
92
|
}
|
89
93
|
.cucumber .outline table, td .outline table, th .outline table {
|
90
94
|
margin: 0px 0px 5px 10px;
|
@@ -129,6 +133,12 @@ body {
|
|
129
133
|
background: #fcfb98;
|
130
134
|
color: #131313;
|
131
135
|
}
|
136
|
+
.cucumber table td.message, td table td.message, th table td.message {
|
137
|
+
border-left: 5px solid aqua;
|
138
|
+
border-bottom: 1px solid aqua;
|
139
|
+
background: #e0ffff;
|
140
|
+
color: #001111;
|
141
|
+
}
|
132
142
|
.cucumber ol, td ol, th ol {
|
133
143
|
list-style: none;
|
134
144
|
margin: 0px;
|
@@ -175,6 +185,13 @@ body {
|
|
175
185
|
background: #fcfb98;
|
176
186
|
color: #131313;
|
177
187
|
}
|
188
|
+
.cucumber ol li.message, td ol li.message, th ol li.message {
|
189
|
+
border-left: 5px solid aqua;
|
190
|
+
border-bottom: 1px solid aqua;
|
191
|
+
background: #e0ffff;
|
192
|
+
color: #001111;
|
193
|
+
margin-left: 10px;
|
194
|
+
}
|
178
195
|
.cucumber #summary, td #summary, th #summary {
|
179
196
|
margin: 0px;
|
180
197
|
padding: 5px 10px;
|
@@ -198,7 +215,7 @@ body {
|
|
198
215
|
padding: 0.1em 0 0.2em 0;
|
199
216
|
}
|
200
217
|
.ruby .keyword {
|
201
|
-
color: #
|
218
|
+
color: #ff6600;
|
202
219
|
}
|
203
220
|
.ruby .constant {
|
204
221
|
color: #339999;
|
@@ -216,13 +233,13 @@ body {
|
|
216
233
|
color: white;
|
217
234
|
}
|
218
235
|
.ruby .string {
|
219
|
-
color: #
|
236
|
+
color: #66ff00;
|
220
237
|
}
|
221
238
|
.ruby .ident {
|
222
239
|
color: white;
|
223
240
|
}
|
224
241
|
.ruby .method {
|
225
|
-
color: #
|
242
|
+
color: #ffcc00;
|
226
243
|
}
|
227
244
|
.ruby .number {
|
228
245
|
color: white;
|
@@ -231,13 +248,13 @@ body {
|
|
231
248
|
color: white;
|
232
249
|
}
|
233
250
|
.ruby .comment {
|
234
|
-
color: #
|
251
|
+
color: #9933cc;
|
235
252
|
}
|
236
253
|
.ruby .symbol {
|
237
254
|
color: white;
|
238
255
|
}
|
239
256
|
.ruby .regex {
|
240
|
-
color: #
|
257
|
+
color: #44b4cc;
|
241
258
|
}
|
242
259
|
.ruby .punct {
|
243
260
|
color: white;
|
@@ -257,6 +274,6 @@ body {
|
|
257
274
|
.ruby .linenum {
|
258
275
|
width: 75px;
|
259
276
|
padding: 0.1em 1em 0.2em 0;
|
260
|
-
color:
|
261
|
-
background: #
|
277
|
+
color: black;
|
278
|
+
background: #fffbd3;
|
262
279
|
}
|
@@ -1,256 +1,247 @@
|
|
1
1
|
/* cucumber.css is generated from cucumber.sass */
|
2
2
|
/* Regenerate with rake sass */
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
$step_left: 5px solid
|
5
|
+
$step_bottom: 1px solid
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
$failed: #fffbd3
|
8
|
+
$failed_border: #c20000
|
9
|
+
$failed_text: #c20000
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
$passed: #dbffb4
|
12
|
+
$passed_border: #65c400
|
13
|
+
$passed_text: #3d7700
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
$skipped: #e0ffff
|
16
|
+
$skipped_border: aqua
|
17
|
+
$skipped_text: #001111
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
$pending: #fcfb98
|
20
|
+
$pending_border: #faf834
|
21
|
+
$pending_text: #131313
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
$undefined: #fcfb98
|
24
|
+
$undefined_border: #faf834
|
25
|
+
$undefined_text: #131313
|
26
|
+
|
27
|
+
$message: #e0ffff
|
28
|
+
$message_border: aqua
|
29
|
+
$message_text: #001111
|
26
30
|
|
27
31
|
body
|
28
|
-
|
29
|
-
:
|
30
|
-
:
|
31
|
-
:
|
32
|
+
font-size: 0px
|
33
|
+
color: white
|
34
|
+
margin: 0px
|
35
|
+
padding: 0px
|
32
36
|
|
33
37
|
.cucumber,td,th
|
34
|
-
:
|
35
|
-
:
|
36
|
-
:
|
37
|
-
|
38
|
+
font: normal 11px "Lucida Grande", Helvetica, sans-serif
|
39
|
+
background: white
|
40
|
+
color: black
|
38
41
|
#cucumber-header
|
39
|
-
:
|
40
|
-
:
|
41
|
-
:
|
42
|
-
|
42
|
+
background: #65c400
|
43
|
+
color: white
|
44
|
+
height: 6em
|
43
45
|
#expand-collapse
|
44
46
|
p
|
45
|
-
:
|
46
|
-
:
|
47
|
-
|
47
|
+
float: right
|
48
|
+
margin: 0 0 0 10px
|
48
49
|
.scenario
|
49
50
|
h3
|
50
|
-
|
51
|
-
:
|
52
|
-
:
|
53
|
-
:
|
54
|
-
:
|
55
|
-
|
56
|
-
|
51
|
+
font-size: 11px
|
52
|
+
padding: 3px
|
53
|
+
margin: 0
|
54
|
+
background: #65c400
|
55
|
+
color: white
|
56
|
+
font-weight: bold
|
57
57
|
h1
|
58
|
-
:
|
59
|
-
:
|
60
|
-
|
61
|
-
|
62
|
-
:
|
63
|
-
|
58
|
+
margin: 0px 10px 0px 10px
|
59
|
+
padding: 10px
|
60
|
+
font-family: "Lucida Grande", Helvetica, sans-serif
|
61
|
+
font-size: 2em
|
62
|
+
position: absolute
|
64
63
|
h4
|
65
|
-
|
66
|
-
|
64
|
+
margin-bottom: 2px
|
67
65
|
div.feature
|
68
|
-
:
|
69
|
-
:
|
70
|
-
|
66
|
+
padding: 2px
|
67
|
+
margin: 0px 10px 5px 10px
|
71
68
|
div.examples
|
72
|
-
:
|
73
|
-
|
69
|
+
padding: 0em 0em 0em 1em
|
74
70
|
.stats
|
75
|
-
:
|
76
|
-
|
71
|
+
margin: 2em
|
77
72
|
.summary
|
78
73
|
ul.features
|
79
74
|
li
|
80
|
-
:
|
81
|
-
|
75
|
+
display: inline
|
82
76
|
.step_name
|
83
|
-
:
|
84
|
-
|
77
|
+
float: left
|
85
78
|
.step_file
|
86
|
-
|
87
|
-
:
|
79
|
+
text-align: right
|
80
|
+
color: #999999
|
88
81
|
a
|
89
|
-
:
|
90
|
-
|
91
|
-
|
82
|
+
color: #999999
|
83
|
+
.scenario_file
|
84
|
+
float: right
|
85
|
+
color: #999999
|
92
86
|
.tag
|
93
|
-
|
94
|
-
:
|
95
|
-
|
87
|
+
font-weight: bold
|
88
|
+
color: #246ac1
|
96
89
|
.backtrace
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
:
|
101
|
-
|
90
|
+
margin-top: 0
|
91
|
+
margin-bottom: 0
|
92
|
+
margin-left: 1em
|
93
|
+
color: black
|
102
94
|
a
|
103
|
-
|
104
|
-
:
|
105
|
-
|
95
|
+
text-decoration: none
|
96
|
+
color: #be5c00
|
106
97
|
&:hover
|
107
|
-
|
98
|
+
text-decoration: underline
|
108
99
|
&:visited
|
109
|
-
|
110
|
-
|
100
|
+
font-weight: normal
|
111
101
|
div.examples
|
112
|
-
:
|
113
|
-
:
|
114
|
-
|
102
|
+
margin: 5px 0px 5px 15px
|
103
|
+
color: black
|
115
104
|
.outline
|
116
105
|
table
|
117
|
-
:
|
118
|
-
|
106
|
+
margin: 0px 0px 5px 10px
|
119
107
|
table
|
120
|
-
|
108
|
+
border-collapse: collapse
|
121
109
|
td
|
122
|
-
:
|
110
|
+
padding: 3px 3px 3px 5px
|
123
111
|
td.failed, td.passed, td.skipped, td.pending, td.undefined
|
124
|
-
|
125
|
-
|
112
|
+
padding-left: 18px
|
113
|
+
padding-right: 10px
|
126
114
|
td.failed
|
127
|
-
|
128
|
-
|
129
|
-
:
|
130
|
-
:
|
115
|
+
border-left: $step_left $failed_border
|
116
|
+
border-bottom: $step_bottom $failed_border
|
117
|
+
background: $failed
|
118
|
+
color: $failed_text
|
131
119
|
td.passed
|
132
|
-
|
133
|
-
|
134
|
-
:
|
135
|
-
:
|
120
|
+
border-left: $step_left $passed_border
|
121
|
+
border-bottom: $step_bottom $passed_border
|
122
|
+
background: $passed
|
123
|
+
color: $passed_text
|
136
124
|
td.skipped
|
137
|
-
|
138
|
-
|
139
|
-
:
|
140
|
-
:
|
125
|
+
border-left: $step_left $skipped_border
|
126
|
+
border-bottom: $step_bottom $skipped_border
|
127
|
+
background: $skipped
|
128
|
+
color: $skipped_text
|
141
129
|
td.pending
|
142
|
-
|
143
|
-
|
144
|
-
:
|
145
|
-
:
|
130
|
+
border-left: $step_left $pending_border
|
131
|
+
border-bottom: $step_bottom $pending_border
|
132
|
+
background: $pending
|
133
|
+
color: $pending_text
|
146
134
|
td.undefined
|
147
|
-
|
148
|
-
|
149
|
-
:
|
150
|
-
:
|
151
|
-
|
135
|
+
border-left: $step_left $undefined_border
|
136
|
+
border-bottom: $step_bottom $undefined_border
|
137
|
+
background: $undefined
|
138
|
+
color: $undefined_text
|
139
|
+
td.message
|
140
|
+
border-left: $step_left $message_border
|
141
|
+
border-bottom: $step_bottom $message_border
|
142
|
+
background: $message
|
143
|
+
color: $message_text
|
152
144
|
ol
|
153
|
-
|
154
|
-
:
|
155
|
-
:
|
156
|
-
|
145
|
+
list-style: none
|
146
|
+
margin: 0px
|
147
|
+
padding: 0px
|
157
148
|
li.step
|
158
|
-
:
|
159
|
-
:
|
149
|
+
padding: 3px 3px 3px 18px
|
150
|
+
margin: 5px 0px 5px 5px
|
160
151
|
li
|
161
|
-
:
|
162
|
-
:
|
152
|
+
margin: 0em 0em 0em 1em
|
153
|
+
padding: 0em 0em 0em 0.2em
|
163
154
|
span.param
|
164
|
-
|
155
|
+
font-weight: bold
|
165
156
|
li.failed
|
166
|
-
|
167
|
-
|
168
|
-
:
|
169
|
-
:
|
157
|
+
border-left: $step_left $failed_border
|
158
|
+
border-bottom: $step_bottom $failed_border
|
159
|
+
background: $failed
|
160
|
+
color: $failed_text
|
170
161
|
li.passed
|
171
|
-
|
172
|
-
|
173
|
-
:
|
174
|
-
:
|
162
|
+
border-left: $step_left $passed_border
|
163
|
+
border-bottom: $step_bottom $passed_border
|
164
|
+
background: $passed
|
165
|
+
color: $passed_text
|
175
166
|
li.skipped
|
176
|
-
|
177
|
-
|
178
|
-
:
|
179
|
-
:
|
167
|
+
border-left: $step_left $skipped_border
|
168
|
+
border-bottom: $step_bottom $skipped_border
|
169
|
+
background: $skipped
|
170
|
+
color: $skipped_text
|
180
171
|
li.pending
|
181
|
-
|
182
|
-
|
183
|
-
:
|
184
|
-
:
|
172
|
+
border-left: $step_left $pending_border
|
173
|
+
border-bottom: $step_bottom $pending_border
|
174
|
+
background: $pending
|
175
|
+
color: $pending_text
|
185
176
|
li.undefined
|
186
|
-
|
187
|
-
|
188
|
-
:
|
189
|
-
:
|
190
|
-
|
177
|
+
border-left: $step_left $undefined_border
|
178
|
+
border-bottom: $step_bottom $undefined_border
|
179
|
+
background: $undefined
|
180
|
+
color: $undefined_text
|
181
|
+
li.message
|
182
|
+
border-left: $step_left $message_border
|
183
|
+
border-bottom: $step_bottom $message_border
|
184
|
+
background: $message
|
185
|
+
color: $message_text
|
186
|
+
margin-left: 10px
|
191
187
|
#summary
|
192
|
-
:
|
193
|
-
:
|
194
|
-
|
195
|
-
:
|
196
|
-
:
|
197
|
-
:
|
198
|
-
|
188
|
+
margin: 0px
|
189
|
+
padding: 5px 10px
|
190
|
+
text-align: right
|
191
|
+
top: 0px
|
192
|
+
right: 0px
|
193
|
+
float: right
|
199
194
|
p
|
200
|
-
:
|
201
|
-
|
195
|
+
margin: 0 0 0 2px
|
202
196
|
#totals
|
203
|
-
|
204
|
-
|
205
|
-
.ruby
|
206
|
-
:font-size 12px
|
207
|
-
:font-family monospace
|
208
|
-
:color white
|
209
|
-
:background black
|
210
|
-
:padding 0.1em 0 0.2em 0
|
197
|
+
font-size: 1.2em
|
211
198
|
|
212
|
-
|
213
|
-
|
199
|
+
.ruby
|
200
|
+
font-size: 12px
|
201
|
+
font-family: monospace
|
202
|
+
color: white
|
203
|
+
background: black
|
204
|
+
padding: 0.1em 0 0.2em 0
|
205
|
+
.keyword
|
206
|
+
color: #ff6600
|
214
207
|
.constant
|
215
|
-
:
|
208
|
+
color: #339999
|
216
209
|
.attribute
|
217
|
-
:
|
210
|
+
color: white
|
218
211
|
.global
|
219
|
-
:
|
212
|
+
color: white
|
220
213
|
.module
|
221
|
-
:
|
214
|
+
color: white
|
222
215
|
.class
|
223
|
-
:
|
216
|
+
color: white
|
224
217
|
.string
|
225
|
-
:
|
218
|
+
color: #66ff00
|
226
219
|
.ident
|
227
|
-
:
|
220
|
+
color: white
|
228
221
|
.method
|
229
|
-
:
|
222
|
+
color: #ffcc00
|
230
223
|
.number
|
231
|
-
:
|
224
|
+
color: white
|
232
225
|
.char
|
233
|
-
:
|
226
|
+
color: white
|
234
227
|
.comment
|
235
|
-
:
|
228
|
+
color: #9933cc
|
236
229
|
.symbol
|
237
|
-
:
|
230
|
+
color: white
|
238
231
|
.regex
|
239
|
-
:
|
232
|
+
color: #44b4cc
|
240
233
|
.punct
|
241
|
-
:
|
234
|
+
color: white
|
242
235
|
.escape
|
243
|
-
:
|
244
|
-
.interp
|
245
|
-
:
|
246
|
-
.expr
|
247
|
-
:
|
248
|
-
|
236
|
+
color: white
|
237
|
+
.interp
|
238
|
+
color: white
|
239
|
+
.expr
|
240
|
+
color: white
|
249
241
|
.offending
|
250
|
-
:
|
242
|
+
background: #333333
|
251
243
|
.linenum
|
252
|
-
:
|
253
|
-
:
|
254
|
-
:
|
255
|
-
:
|
256
|
-
|
244
|
+
width: 75px
|
245
|
+
padding: 0.1em 1em 0.2em 0
|
246
|
+
color: black
|
247
|
+
background: #fffbd3
|