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



21
22
23
# File 'lib/appmap/cucumber.rb', line 21

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

#feature_pathObject



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

def feature_path
  scenario.feature.location.to_s
end