Class: Cucumber::Formatter::Steps
- Includes:
- Console
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/steps.rb
Overview
The formatter used for --format steps
Constant Summary
Constants included from ANSIColor
Constants included from Term::ANSIColor
Term::ANSIColor::ATTRIBUTES, Term::ANSIColor::ATTRIBUTE_NAMES, Term::ANSIColor::COLORED_REGEXP
Instance Method Summary collapse
- #after_features(_features) ⇒ Object
-
#initialize(runtime, path_or_io, options) ⇒ Steps
constructor
A new instance of Steps.
Methods included from Console
#attach, #collect_snippet_data, #collect_undefined_parameter_type_names, #do_print_passing_wip, #do_print_profile_information, #do_print_snippets, #do_print_undefined_parameter_type_snippet, #exception_message_string, #format_step, #format_string, #indent, #linebreaks, #print_element_messages, #print_elements, #print_exception, #print_passing_wip, #print_profile_information, #print_snippets, #print_statistics
Methods included from ANSIColor
#apply_custom_colors, #cukes, #green_cukes, #red_cukes, #yellow_cukes
Methods included from Term::ANSIColor
#attributes, included, #uncolored
Methods included from Duration
Constructor Details
#initialize(runtime, path_or_io, options) ⇒ Steps
Returns a new instance of Steps.
10 11 12 13 14 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/steps.rb', line 10 def initialize(runtime, path_or_io, ) @io = ensure_io(path_or_io, nil) @options = @step_definition_files = collect_steps(runtime) end |
Instance Method Details
#after_features(_features) ⇒ Object
16 17 18 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/formatter/steps.rb', line 16 def after_features(_features) print_summary end |