Skip to content

Commit fffe4d6

Browse files
author
Dzmitry Humianiuk
authored
Merge pull request #118 from haelye/eden/update_readme_for_new_ini_flag
eden/update_readme_for_new_ini_flag branch PR
2 parents f4d47ac + 37d5593 commit fffe4d6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ The following parameters are optional:
7979
- :code:`rp_issue_marks = 'xfail' 'issue'` - Pytest marks that could be used to get issue information (id, type, reason)
8080
- :code:`rp_issue_system_url = https://bugzilla.olympus.f5net.com/show_bug.cgi?id=` - URL to get issue description (issue id from pytest mark will be added to this URL)
8181
- :code:`rp_verify_ssl = True` - Verify SSL when connecting to the server
82+
- :code:`rp_display_suite_test_file = True` In case of True, include the suite's relative file path in the launch name as a convention of "<RELATIVE_FILE_PATH>::<SUITE_NAME>". In case of False, set the launch name to be the suite name only - this flag is relevant only when "rp_hierarchy_module" flag is set to False
83+
8284

8385
If you like to override the above parameters from command line, or from CI environment based on your build, then pass
8486
- :code:`-o "rp_launch_tags=Smoke Tests"` during invocation.

pytest_reportportal/plugin.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,5 +302,6 @@ def pytest_addoption(parser):
302302
'rp_display_suite_test_file',
303303
default=True,
304304
type='bool',
305-
help='Displays the test file of the suite as a convention of "file::suite" - relevant only when '
306-
'"rp_hierarchy_module" flag is False')
305+
help="In case of True, include the suite's relative file path in the launch name as a convention of "
306+
"'<RELATIVE_FILE_PATH>::<SUITE_NAME>'. In case of False, set the launch name to be the suite name "
307+
"only - this flag is relevant only when 'rp_hierarchy_module' flag is set to False")

0 commit comments

Comments
 (0)