Description
AssertThat - BDD & Cucumber for Jira provides a Standalone API client to enable integration with your automated test framework:
Download Feature files -f Download features
The scenarios and feature files can be downloaded from the plugin into your automation test framework using the AssertThat standalone API client.
The fields for projectId , accessKey and secretKey are available from the AssertThat Configuration page - AssertThat Configuration. In addition to using tags to filter the scenarios for execution, the plugin provides 3 optional fields:
JIRA JQL - JQL filters can be developed using the JIRA's advanced searching functionality e.g. “Sprint = 5”.
mode - This field is set for each scenario in AssertThat and is set as default to Automated - Automated and Manual tests.
tags - tag expression filter for scenarios e.g. tags = "(@smoke or @ui) and (not @slow)". More on tag expressions https://cucumber.io/docs/cucumber/api/#tag-expressions
java -jar assertthat-bdd-standalone-1.9.4.jar Required options: a, s, i, [-f Download features, -r Upload report] usage: assertthat-bdd-standalone-1.9.4.jar -a,--accessKey <ASSERTTHAT_ACCESS_KEY> Access key -f,--features Download features -h,--help Display help -i,--projectId <ID> Jira project id -j,--jsonReportFolder <FOLDER PATH> Cucumber json files folder -m,--mode <automated|manual|both> Features to download -b,--tags <tags expression> Tags expression for scenarios filtering -n,--runName <NAME> Test run name -o,--outputFolder <FOLDER PATH> Features output folder -p,--proxyPassword <PASSWORD> Proxy password -q,--jql <JQL> JQL filter for features download and Jira issues to be updated with test results -r,--report Upload report -s,--secretKey <ASSERTTHAT_SECRET_KEY> Secret key -k,--type <cucumber|karate> Report type -t,--jsonReportIncludePattern <PATTERN> Pattern for json file names -u,--proxyUsername <USERNAME> Proxy username -x,--proxyURI <URI> Proxy URI -l,--jiraServerUrl <URI> Jira Server URL
Upload test results (cucumber json file) into AssertThat -r Upload report
The AssertThat - BDD Test Automation in Jira will parse the results of the cucumber json file and load them so that the results can be viewed in Jira alongside the user stories - Test Execution status for User Stories. The automated test results will automatically be linked to existing defects and the results loaded into the reporting tool. The failed tests can then be easily reviewed and assigned for further analysis - Automated Test Report Analysis.
cmd
java -jar assertthat-bdd-standalone-1.9.4.jar Required options: a, s, i, [-f Download features, -r Upload report] usage: assertthat-bdd-standalone-1.9.4.jar -a,--accessKey <ASSERTTHAT_ACCESS_KEY> Access key -f,--features Download features -h,--help Display help -i,--projectId <ID> Jira project id -j,--jsonReportFolder <FOLDER PATH> Cucumber json files folder -m,--mode <automated|manual|both> Features to download -b,--tags <tags expression> Tags expression for scenarios filtering -n,--runName <NAME> Test run name -o,--outputFolder <FOLDER PATH> Features output folder -p,--proxyPassword <PASSWORD> Proxy password -q,--jql <JQL> JQL filter for features download and Jira issues to be updated with test results -r,--report Upload report -s,--secretKey <ASSERTTHAT_SECRET_KEY> Secret key -k,--type <cucumber|karate> Report type -t,--jsonReportIncludePattern <PATTERN> Pattern for json file names -u,--proxyUsername <USERNAME> Proxy username -x,--proxyURI <URI> Proxy URI -l,--jiraServerUrl <URI> Jira Server URL
Installation
- Download jar file from the latest release here on GitHub
0 Comments