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:

java -jar assertthat-bdd-standalone-1.9.11.jar Required options: accessKey, secretKey, token, projectId, [-features Download fetures] usage: assertthat-bdd-standalone-1.9.4.jar -accessKey <ASSERTTHAT_ACCESS_KEY> Access key -secretKey <ASSERTTHAT_SECRET_KEY> Secret key -token <ASSERTTHAT_TOKEN> Jira API token (for DataCenter only) as an alternative to basic auth -features Download features -help Display help -projectId <ID> Jira project id -mode <automated|manual|both> Features to download -tags <tags expression> Tags expression for scenarios filtering -outputFolder <FOLDER PATH> Features output folder -proxyPassword <PASSWORD> Proxy password -jql <JQL> JQL filter for features download -proxyUsername <USERNAME> Proxy username -proxyURI <URI> Proxy URI -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.11.jar Required options: accessKey, secretKey, token, projectId, [-report Upload report] usage: assertthat-bdd-standalone-1.9.4.jar -accessKey <ASSERTTHAT_ACCESS_KEY> Access key -secretKey <ASSERTTHAT_SECRET_KEY> Secret key -token <ASSERTTHAT_TOKEN> Jira API token (for DataCenter only) as an alternative to basic auth -help Display help -projectId <ID> Jira project id -jsonReportFolder <FOLDER PATH> Cucumber json files folder -runName <NAME> Test run name -outputFolder <FOLDER PATH> Features output folder -proxyPassword <PASSWORD> Proxy password -jql <JQL> JQL filter issues to be updated with test results -report Upload report -type <cucumber|karate> Report type -jsonReportIncludePattern <PATTERN> Pattern for json file names -proxyUsername <USERNAME> Proxy username -proxyURI <URI> Proxy URI -jiraServerUrl <URI> Jira Server URL

Installation

- Download jar file from the latest release here on GitHub