Method: Allure#parameter

Defined in:
lib/allure-ruby-commons.rb

#parameter(name, value, excluded: false, mode: Allure::Parameter::DEFAULT) ⇒ void

This method returns an undefined value.

Add parameter to current test case

Parameters:



121
122
123
124
125
# File 'lib/allure-ruby-commons.rb', line 121

def parameter(name, value, excluded: false, mode: Allure::Parameter::DEFAULT)
  lifecycle.update_test_case do |test_case|
    test_case.parameters.push(Parameter.new(name, value, excluded: excluded, mode: mode))
  end
end