BDD with Zephyr Squad
BDD with Z4J
BDD is enabled by default for all projects using Zephyr for JIRA, you can choose to disable this manually within your project settings. Keeping in mind these instructions are for the cloud deployment, there are two methods to creating your BDD features:
Method 1
- Click Create a BDD Feature (New) in the left menu.
- Select Story as the issue type.
- Specify details and click Create.
Method 2
- Click Create at the top.
- Select Story as the issue type.
- Add the label BDD_Feature.
- Specify details and click Create.
Additional Notes for BDD
You should now be able to successfully create a BDD feature but, just in case, here is a helpful outline of some additional tips and tricks that should help you seamlessly run your tests.
Behaviors
- If you download the feature file from the test cycle, this will download only the scenarios that are present at the test cycle level.
- If you upload the results file at the test cycle level, it will only upload the results at the test cycle and folder level. If you are trying to upload and the cycle or folder id doesn’t match, then there will be an error that prevents you from uploading.
- After uploading the results file, you may need to perform a browser refresh in order to see the results.
- If you download the feature file from the view issue page, you can upload the results for this feature at any cycle or folder level.
- When users download the feature file from the view issue page, then the user can upload the results to any test cycle and folder aside from the Ad-hoc cycle.
Limitations
- If you are using the older UI, only the feature can be created but not the scenarios.
- Downloading and uploading results at the Ad-hoc test cycle is not supported.
- Currently, we are only supporting Cucumber JSON format when you are uploading the results file.