Skip to content

Updates Jira's Zephyr test executions from cucumber.json reports. Also keeps Zephyr tests cases and cucumber feature files in sync

Notifications You must be signed in to change notification settings

rlupo06/jira-execution-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jira-execution-updater

Resources

Setup

Install IntelliJ

  • Install cucumber plugin
  • Preferences => Plugins => Cucumber for Java

Environment variables

Open a terminal and proceed with the following:

$ open ~/.bash_profile

Set environment variables

export JAVA_HOME=$(/usr/libexec/java_home)

Save changes, close profile, close and reopen terminal.

Homebrew

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After installation:

$ brew doctor
Your system is ready to brew

Node

$ brew install node

Git

$ brew install git

Running tests

Terminal

Update Zephyr test execution results

$ ./gradlew -DcucumberReportLocation="../target/cucumber-report/cucumber.json" -Dportal="portalName" -Ddevice="deviceName" -Dusername="jiraUsername" -Dpassword="jiraPassword" clean test --tests *runner.updateExecutionResults -i

Sync Zephyr versions with Zephyr's Master version

$ ./gradlew -DversionToCopy="MasterVersion"  -Dportal="PortalName" -Ddevices="devices" -Dusername="jiraUsername" -Dpassword='jira.password' clean test --tests *runner.updateZephyrVersions -i

Add steps from Cucumber feature files to Zephyr test cases

$ ./gradlew -DgherkinFileLocation="featureFileLocation" -Dusername='jiraUsername' -Dpassword='jiraPassword' clean test --tests *runner.updateTestCases -i

About

Updates Jira's Zephyr test executions from cucumber.json reports. Also keeps Zephyr tests cases and cucumber feature files in sync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages