The Gherkin family of automation tools, Cucumber, Cucumber-JVM, Cucumber-JS, SpecFlow (C#/.net), Behat (PHP) and Behave (Python), all consume plain text feature files in the Gherkin format. Behave Pro can export these gherkin files on a per feature basis and for a whole Jira project.
You can integrate one of Behave Pro's build tools into your projects build process to export all the feature files for your project to a local directory before executing Cucumber or your preferred automation tool of choice
Authentication credentials
To export data from Behave Pro you will need authentication credentials. These differ depending on weather you use Jira Cloud (Atlassian hosts for you) or Jira Sever (You host Jira on your own servers).
You need 4 items to configuration the build tools; server
, projectKey
, username
and password
Jira Cloud
You can find three of the configuration items from the project settings page of your Jira project, located in the sidebar navigation of the project: Project settings > BDD - Behave Pro.
This page can only be access by the project administrator and provides the project id (Project Key), and a API key for the username and password. The fourth property value server
is https://behave.pro
Note: The Generate config button can generate pre-populated configuration files for the build tools described later on in this document
Jira Server
You can find one of the configuration items from the project settings page of your Jira project, located in the sidebar navigation of the project: Project settings > Behave Pro.
This page can only be access by the project administrator and provides the project id (Project Key). The username
and password
will be your or another accounts username and password to access Jira. The fourth property value server
is the base URL to your Jira server.
Note: The Generate config button can generate pre-populated configuration files (Won't include your username and password) for the build tools described later on in this document
Supported tools
- Maven and Gradle plugins/tasks for teams using Cucumber-JVM
- MSBuild for teams using SpecFlow and Visual Studio
- Rake task or command line interface for teams workings with Cucumber Ruby
- NodeJS module for teams using Cucumber-JS
- Python library or command line interface for teams working in Python (Behave or Lettuce)
If you can't find support for a build tool you need? You can always write a script using the Ruby or Python command line clients, or using curl
Frequently Asked Questions
- Is JBehave supported? This depends on your JBehave configuration and if uses Gherkin.
- Is RSpec supported? I'm afraid not, Behave Pro only works with Gherkin compatible tools.