Command line

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:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 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