Class: Allure::TestPlan
- Inherits:
-
Object
- Object
- Allure::TestPlan
- Extended by:
- JsonHelper
- Defined in:
- lib/allure_ruby_commons/testplan.rb
Constant Summary collapse
- TESTPLAN_PATH =
Returns test plan path env var name.
"ALLURE_TESTPLAN_PATH"
Constants included from JsonHelper
Class Method Summary collapse
-
.test_ids ⇒ Array
Allure id’s of executable tests.
-
.test_names ⇒ Array
Test names of executable tests.
Methods included from JsonHelper
dump_json, json_parse_error, load_json
Class Method Details
.test_ids ⇒ Array
Allure id’s of executable tests
14 15 16 |
# File 'lib/allure_ruby_commons/testplan.rb', line 14 def test_ids @test_ids ||= tests&.map { |test| test[:id] } end |
.test_names ⇒ Array
Test names of executable tests
21 22 23 |
# File 'lib/allure_ruby_commons/testplan.rb', line 21 def test_names @test_names ||= tests&.map { |test| test[:selector] } end |