Method: Allure#step
- Defined in:
- lib/allure-ruby-commons.rb
#step(name:, status: nil) ⇒ void
This method returns an undefined value.
Add step with provided name and optional status to current test step, fixture or test case
213 214 215 216 |
# File 'lib/allure-ruby-commons.rb', line 213 def step(name:, status: nil) lifecycle.add_test_step(StepResult.new(name: name, status: status || Status::PASSED, stage: Stage::FINISHED)) lifecycle.stop_test_step end |