Module: AllureStepAnnotation

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

Overview

Adds support for annotating methods as allure steps

Instance Method Summary collapse

Instance Method Details

#step(step_name = "") ⇒ void

This method returns an undefined value.

Mark method definition as allure step

Parameters:

  • step_name (String) (defaults to: "")


10
11
12
# File 'allure-ruby-commons/lib/allure_ruby_commons/step_annotation.rb', line 10

def step(step_name = "")
  @allure_step = step_name
end