Method: Allure#add_attachment

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

#add_attachment(name:, source:, type:, test_case: false) ⇒ void

This method returns an undefined value.

Add attachment to current test case or step



160
161
162
# File 'lib/allure-ruby-commons.rb', line 160

def add_attachment(name:, source:, type:, test_case: false)
  lifecycle.add_attachment(name: name, source: source, type: type, test_case: test_case)
end