Class: Cucumber::Formatter::LegacyApi::Adapter
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Formatter::LegacyApi::Adapter
show all
- Extended by:
- Forwardable
- Defined in:
- lib/cucumber/formatter/legacy_api/adapter.rb
Defined Under Namespace
Modules: PrintsAfterHooks, TestCaseSource, TestStepSource
Classes: AfterHookPrinter, BackgroundPrinter, Embedding, ExamplesArrayPrinter, ExamplesTablePrinter, ExpandTableRowPrinter, FeaturePrinter, FeaturesPrinter, HeaderTableRowPrinter, HiddenBackgroundPrinter, Indent, LegacyResultBuilder, OutlineStepsPrinter, ScenarioOutlinePrinter, ScenarioPrinter, StepsPrinter, TableRowPrinter, TableRowPrinterBase
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
Returns the value of attribute config
11
12
13
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 11
def config
@config
end
|
Returns the value of attribute formatter
11
12
13
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 11
def formatter
@formatter
end
|
Returns the value of attribute results
11
12
13
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 11
def results
@results
end
|
#support_code ⇒ Object
Returns the value of attribute support_code
11
12
13
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 11
def support_code
@support_code
end
|
Instance Method Details
#after_test_case(test_case, result) ⇒ Object
35
36
37
38
39
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 35
def after_test_case(test_case, result)
record_test_case_result(test_case, result)
printer.after_test_case(test_case, result)
formatter.after_test_case(test_case, result)
end
|
#after_test_step(test_step, result) ⇒ Object
30
31
32
33
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 30
def after_test_step(test_step, result)
printer.after_test_step(test_step, result)
formatter.after_test_step(test_step, result)
end
|
#before_test_case(test_case) ⇒ Object
20
21
22
23
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 20
def before_test_case(test_case)
formatter.before_test_case(test_case)
printer.before_test_case(test_case)
end
|
#before_test_step(test_step) ⇒ Object
25
26
27
28
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 25
def before_test_step(test_step)
formatter.before_test_step(test_step)
printer.before_test_step(test_step)
end
|
45
46
47
48
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 45
def done
printer.after
formatter.done
end
|
#puts(*messages) ⇒ Object
41
42
43
|
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 41
def puts(*messages)
printer.puts(messages)
end
|