Skip to content

Commit

Permalink
Added test coverage for reportportal plugin and improved plugin docum…
Browse files Browse the repository at this point in the history
…entation
  • Loading branch information
4N0body5 committed Aug 6, 2024
1 parent 63b1035 commit 002124b
Show file tree
Hide file tree
Showing 3 changed files with 565 additions and 93 deletions.
10 changes: 10 additions & 0 deletions spec/plans/report.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +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 as environment variables
in the format TMT_PLUGIN_REPORT_REPORTPORTAL_${OPTION}
to enable execution purely via metadata and/or
environment variables (e.g. in 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}

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

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

Expand Down
Loading

0 comments on commit 002124b

Please sign in to comment.