-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for reporting/commenting test results to the Jira issue #15104
Conversation
@jameerpathan111 Quick Comment: Please remove Reason: A local user could forget that he has enabled the setting in file and unintentionally the comments would be added to Jira card until noticed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed from high view, deep code review pending.
58396eb
to
2da815e
Compare
3cf623a
to
adf121d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall ACK on the contents here. Though I would still like to know what other comment types are available besides "group" and how each differs from the others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good.
But ACK pending comment to remove duplicate commenting settings and Jira Comment example.
adf121d
to
5078ca7
Compare
There are two types, |
Please don't merge this before I remove my last commit, I'm doing some more testing with PRT. |
PRT Result
|
PRT Result
|
6a7db3d
to
b8f04d0
Compare
PRT Result
|
|
PRT Result
|
Ready for merge. Tested the PR, see PRT run 7207 for the result.
|
b8f04d0
to
5078ca7
Compare
5078ca7
to
572d84f
Compare
What does this do?
Verifies
orBlockedBy
doc fields.Primary use case
Verifies
orBlockedBy
doc field to the test, mapping it to a Jira RFE/Bug. For example,:Verifies: SAT-25230
or:BlockedBy: SAT-24796
.BlockedBy
, the test will be collected only if the corresponding Jira issue is in theReview
(ON_QA) state. This behavior can be overridden by using the--blocked-by SAT-25230
option.ENABLE_COMMENT
totrue
in thejira.yaml
configuration file.--jira-comments
pytest option.Note:
issue_status
injira.conf
.PRT example
Assuming the test has a
Verifies
orBlockedBy
doc field set and you want to comment on issues in "New" or "In Progress" state.Related Issues