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.
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#assertions ⇒ Object
21 22 23 |
# File 'lib/qat/cucumber/world.rb', line 21 def assertions @assertions end |
Instance Method Details
#evidence_prefix ⇒ Object
33 34 35 |
# File 'lib/qat/cucumber/world.rb', line 33 def evidence_prefix QAT[:current_test_run_id] end |
#test_id ⇒ Object
25 26 27 |
# File 'lib/qat/cucumber/world.rb', line 25 def test_id QAT[:current_test_id] end |
#test_run_id ⇒ Object
29 30 31 |
# File 'lib/qat/cucumber/world.rb', line 29 def test_run_id QAT[:current_test_run_id] end |