4 MIN READ
   //   Jun 29, 2020

Zephyr for JIRA: Basics

Sonam Chaturvedi

Test management is the process of taking a project's requirements, building a test plan, writing the tests, planning the test activities and capturing the results. Test management tools that provide these capabilities, ease the testing process drastically. One such test management tool is Zephyr for JIRA.

Zephyr is an integrated plugin which provides the test management capabilities for projects in JIRA. Let's discover Zephyr for JIRA (cloud version) as a test management tool.

How to Integrate Zephyr with JIRA?

First, we need to install Zephyr for JIRA plugin and then add the issue type ‘test’ to the project.

  1. Log in as the Administrator on your JIRA Cloud instance
  2. Jira Settings  -  Find Apps/Add-ons  -  Search ‘Zephyr for JIRA’  -  Install
  3. Project Settings  -  Issue Types  -  Add ‘Test’ type to project

Zephyr for JIRA

Zephyr for Test Management

1. Creating a Test Cycle

A test cycle is a container for test cases. It allows the test cases to be grouped logically and executed in a structured fashion.

First, we need to create a test cycle using below steps:

  1. Click on Zephyr  - ‘Cycle Summary’   
  2. Click on the ‘+’ / ‘Create New Test Cycle’ button at the top of the folder menu
  3. Complete below fields to create a new test cycle:
    1. Version - Select applicable version of the project
    2. Name - Name of the test cycle
    3. Description - Description of the test cycle
    4. Build - Optional. Used to build details
    5. Environment - Environment on which test case is to be executed
    6. From - Start date of the test cycle
    7. To - End date of the test cycle
  4. Click on the ‘Save’ button

Zephyr for JIRA

2. Creating Test

A test case is a set of actions executed to verify a particular feature or functionality of the software application. To create a test case in Zephyr, first, we need to create an issue with type ‘Test’ and then add test steps to it.

Step 1: Creating a Test

  • Click on ‘+’ of the main menu
  • Select the desired project under ‘Project’ dropdown
  • Select ‘Test’ as an issue type       
  • Enter below details
    • Test Summary - Title of the test cases. Mandatory field.
    • Test Description - Description of the test case
    • Components - Select component specific to the project or feature
    • Fix Version - Select fix version/Release of the project
    • Priority - Select the priority of the test case
    • Assign To - Name of the user responsible for executing the test cases
    • Sprint - Sprint of the test case
    • Epic Link/Story links - Epic/Story ID for which test cases is been created
    • Attachments - Attach evidence/reference document
  • Click on the ‘Create’ button

 Step 2: Adding test steps to the Test

  • Open the created test in edit mode
  • Go to ‘Test Details’ section
  • Add ‘Test Step’, ‘Test Data’ and ‘Expected Result’
  • Test Detail Features - 
    • Edit - Click on the cell - Modify - Click outside the cell
    • Clone - Click on the ‘Clone’ button available under the ‘Actions’ column
    • Delete - Click on ‘Delete’ button available under ‘Actions’ column

Zephyr for JIRA

3. Adding Tests to Test Cycle

 We can add tests to test cycle in two ways:

  1. From ‘Test Cycle Summary’ page
  • Select the Test Cycle
  • Click on the ‘Add Tests’ button
  • Three ways to add tests:
    • Individually - Using Test ID
    • Via Search Filter - Using existing Search Filter
    • Another Cycle - Using Another test cycle
  • Assign these tests by selecting a name under ‘Assign To’ dropdown
  • Click on the ‘Save’ button
  1. From ‘Test Case View’ page
  • Open the Test Case
  • Click on ‘...’
  • Select ‘Add to Test Cycle(s)’ option

Zephyr for JIRA

3. Executing Tests

Test Execution is the process of executing the test cases in a test cycle and comparing the expected and actual results. After adding tests to the test cycle, we need to execute them. We can execute the test in Zephyr using either of the below ways:

  1. From ‘Test Cycle Summary’ page
  • Select the ‘Test Cycle’
  • Click on the ‘E’ button available against each test case
  • This will open up the ‘Test Execution’ page for the respective test
  • Fill in the ‘Pass/Fail’ details as applicable
  1. From ‘Test Case View’ page
  • Open the Test Case
  • Go to Test Execution section
  • Click on the ‘E’ button available against each test case
  • This will open up the Test Execution page for the respective test
  • Fill in the details as applicable

Zephyr for JIRA

4. Raising and Linking Bug

  • Open the ‘Test Execution’ page of the failed test case
  • Click on ‘Create New Issue’ button
  • Fill in the details as applicable
    • Summary - Title of the bug
    • Reporter - User reporting the bug/issue
    • Description - Description of the bug (Steps to reproduce, Actual/Expected result)
    • Priority - Select Priority of the bug to get fixed
    • Linked Issues - Select test/issues related to this bug
    • Assign To - Select user who will work to fix this issue
  • Save the issue
  • New issue created will be linked to the test case

Zephyr for JIRA

Zephyr for JIRA

5. Tracking Testing Progress

There are several ways to track testing progress in Zephyr.

  • Test Summary

The ‘Test Summary’ page gives an organized view of all the tests for a particular project, broken down by Versions, Components, and Labels.

  • Traceability Matrix:

Traceability matrix provides the ability to map requirements to defects or vice-versa.  Zephyr provides two traceability matrices:

  • Requirements to Defects: Generates full traceability report from Requirements - Tests  - Test Executions  - Defects.
  • Defects to Requirements: Generates full traceability report from Defects - Test Executions - Tests - Requirements.

Zephyr for JIRA

  • Test Metrics

Zephyr automatically tracks below test metrics for the project/version:

  1. Daily Test Execution Progress, by status
  2. Test Executions by Test Cycle
  3. Test Executions by Tester
  4. Execution List

Zephyr for JIRA

Zephyr for JIRA

 

Zephyr for JIRA

Pros and Cons of Zephyr

Pros:

  1. Better traceability with the linkage between stories, test cases and bugs in the test cycles.
  2. Graphical representation of the results.
  3. UI look and feel is the same as JIRA’s
  4. Test cases can be exported to word, excel formats.
  5. Test case review process possible through Agile Board.
  6. Multiple test iterations with multiple cycles can be created.
  7. Possible to create customized filters.

Cons:

  1. Importing existing test cases from excel is not easy and one has to use some external add-on for that.
  2. Test Case writing in Zephyr (browser) compared to the Excel sheet is tedious.
  3. Test result import not possible.
  4. Does not integrate with other applications such as Rally or TFS

 

Thanks for reading! Hope this gives you an overview of how to integrate Zephyr with JIRA and use test management capabilities in any JIRA project. Part 2 of this blog series  Zephyr for JIRA: Features explores some quick and handy features of Zephyr. Stay tuned! 

Start your Digital

Transformation journey

Consultancy | Design | Drupal