module Testrail::Scenario::ClassMethods

Public Instance Methods

get_testrail_configuration(property_name) click to toggle source

get a named Testrail configuration property. Currenly only used for the results status map

# File lib/cucumber_testrail/testrail_extensions.rb, line 19
def get_testrail_configuration(property_name)
  @@testrail_configuration[property_name]
end
set_testrail_configuration(property_name,property_value) click to toggle source

set a configuration property at the class level. Initially used to set the mapping between Cucumber test results and Testrail result ids

# File lib/cucumber_testrail/testrail_extensions.rb, line 14
def set_testrail_configuration(property_name,property_value)
  @@testrail_configuration[property_name] = property_value
end