Skip to content

Commit

Permalink
Finished and polished reportportal tests and improved the plugin docu…
Browse files Browse the repository at this point in the history
…mentation.
  • Loading branch information
4N0body5 authored and martinhoyer committed Jul 30, 2024
1 parent b40a4b2 commit d408fe8
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 188 deletions.
10 changes: 7 additions & 3 deletions spec/plans/report.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,21 @@ description:
Provide test results and fmf data per each plan,
and send it to a Report Portal instance via its API
with token, url and project name given.

Note that all options can be passed environment variable
in the format TMT_PLUGIN_REPORT_REPORTPORTAL_${OPTION}
to enable execution purely via metadata and/or
environment variables (e.g. Testing Farm)

example:
- |
# Optionally set environment variables according to TMT_PLUGIN_REPORT_REPORTPORTAL_${OPTION}
export TMT_PLUGIN_REPORT_REPORTPORTAL_URL=${url-to-RP-instance}
export TMT_PLUGIN_REPORT_REPORTPORTAL_TOKEN=${token-from-RP-profile}

# Bolean options are activated with value of 1:
# Boolean options are activated with value of 1:
TMT_PLUGIN_REPORT_REPORTPORTAL_SUITE_PER_PLAN=1

- NOTE: All options are supported in the format demonstrated above to enable execution purely via metadata and/or environment variables (e.g. Testing Farm)

- |
# Enable ReportPortal report from the command line depending on the use case:

Expand Down
Loading

0 comments on commit d408fe8

Please sign in to comment.