Class: AppMap::Cucumber::ProviderBefore4

Inherits:
ProviderStruct show all
Defined in:
lib/appmap/cucumber.rb

Overview

ProviderBefore4 provides scenario name, feature name, and feature group name for Cucumber versions before 4.0.

Instance Attribute Summary

Attributes inherited from ProviderStruct

#scenario

Instance Method Summary collapse

Methods inherited from ProviderStruct

#feature_group

Instance Method Details

#attributesObject



24
25
26
# File 'lib/appmap/cucumber.rb', line 24

def attributes
  ScenarioAttributes.new(scenario.name, scenario.feature.name, feature_group)
end

#feature_pathObject



28
29
30
# File 'lib/appmap/cucumber.rb', line 28

def feature_path
  scenario.feature.location.to_s
end