Module: QAT::Cucumber::World

Includes:
Minitest::Assertions, Logger
Defined in:
lib/qat/cucumber/world.rb

Overview

Cucumber World utility. Will be automatically included in the World object when this file is required. Includes MiniTest and a Logger utility. In order to define the Logger channel, a World Class should be defined by the user. Should be required in the env.rb file.

Since:

  • 0.1.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#assertionsObject

Since:

  • 0.1.0



21
22
23
# File 'lib/qat/cucumber/world.rb', line 21

def assertions
  @assertions
end

Instance Method Details

#evidence_prefixObject

Since:

  • 0.1.0



33
34
35
# File 'lib/qat/cucumber/world.rb', line 33

def evidence_prefix
  QAT[:current_test_run_id]
end

#test_idObject

Since:

  • 0.1.0



25
26
27
# File 'lib/qat/cucumber/world.rb', line 25

def test_id
  QAT[:current_test_id]
end

#test_run_idObject

Since:

  • 0.1.0



29
30
31
# File 'lib/qat/cucumber/world.rb', line 29

def test_run_id
  QAT[:current_test_run_id]
end