Method: Beaker::DSL::Helpers::TestHelpers#set_current_step_name

Defined in:
lib/beaker/dsl/helpers/test_helpers.rb

#set_current_step_name(name) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Sets the currently executing step’s name.

Parameters:

  • name (String)

    Name of the step

Returns:

  • nil



63
64
65
66
# File 'lib/beaker/dsl/helpers/test_helpers.rb', line 63

def set_current_step_name(name)
  [:step] ||= {}
  [:step][:name] = name
end