gauge install xray-report
gauge install xray-report --version 0.x.x
- Download the plugin from Releases
gauge install xray-report --file <path_to_plugin_zip_file>
Add this plugin to your Gauge project by registering it in manifest.json
file. You can also do this by:
{
"Language": "",
"Plugins": [
"xray-report"
]
}
jira_url = https://your.jira.url
jira_username = <user>
jira_password = <password>
jira_authentication = cookie/basic
Do NOT save the 'jira_password' in source code.
Default jira_authentication is cookie if property not provided.
The following env variables are optional, and allow to configure a specific testExecutionId and summary:
jira_test_execution_id = JIRA_ID
jira_test_execution_summary = Expected JIRA issue summary
## Scenario
Tags: TestCaseId:PROJECT-1
In order to avoid creating a new test execution for each run, add TestExecutionId:<XrayTestExecutionKey> tag to spec. Note: TestExecutionId defined in the tag will only be used if there was none set in the env variables.
# Spec
Tags: TestExecutionId:PROJECT-2