Class: AppMap::Cucumber::Provider4
- Inherits:
-
ProviderStruct
- Object
- Struct
- ProviderStruct
- AppMap::Cucumber::Provider4
- Defined in:
- lib/appmap/cucumber.rb
Overview
Provider4 provides scenario name, feature name, and feature group name for Cucumber versions 4.0 and later.
Instance Attribute Summary
Attributes inherited from ProviderStruct
Instance Method Summary collapse
Methods inherited from ProviderStruct
Instance Method Details
#attributes ⇒ Object
35 36 37 |
# File 'lib/appmap/cucumber.rb', line 35 def attributes ScenarioAttributes.new(scenario.name, scenario.name.split(' ')[0..1].join(' '), feature_group) end |
#feature_path ⇒ Object
39 40 41 |
# File 'lib/appmap/cucumber.rb', line 39 def feature_path scenario.location.file end |