Class: Cucumber::Distrib::Test::Step

Inherits:
Core::Test::Step
  • Object
show all
Defined in:
lib/cucumber/distrib/test.rb

Overview

Object that mimic Cucumber::Core::Test::Step on Leader for reporters.

Instance Method Summary collapse

Constructor Details

#initialize(test_step) ⇒ Step

Returns a new instance of Step.

Parameters:

  • test_step (Cucumber::Core::Test::Step)


31
32
33
34
35
36
# File 'lib/cucumber/distrib/test.rb', line 31

def initialize(test_step) # rubocop:disable Lint/MissingSuper
  @id = test_step.id
  @text = test_step.text
  @location = test_step.location
  @multiline_arg = test_step.multiline_arg
end