Method: Fivemat::Cucumber3#on_test_case_started

Defined in:
lib/fivemat/cucumber3.rb

#on_test_case_started(event) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/fivemat/cucumber3.rb', line 7

def on_test_case_started(event)
  super
  feature = event.test_case.feature

  unless same_feature_as_previous_test_case?(feature)
    after_feature unless @current_feature.nil?
    before_feature(feature)
  end
end