class Cucumber::Core::Test::Case
Additional useful methods to extend the Cucumber::Core::Test::Case
class with
Public Instance Methods
feature_file_name()
click to toggle source
@return [String]
The file name of the feature being ran (Without the .feature extension)
# File lib/automation_helpers/extensions/cucumber/core/test/case.rb, line 13 def feature_file_name feature_file_path.split('/').last&.split('.')&.first.to_s end
feature_file_path()
click to toggle source
@return [String]
The fully qualified location of the feature being ran
# File lib/automation_helpers/extensions/cucumber/core/test/case.rb, line 20 def feature_file_path location.to_s end