Using JIRA Software for Test Case Management
Though JIRA Software was not designed to serve as a Test Case Management, it can be configured to support test case management in a couple of different ways.
You can either change its native components (i.e. issue type and workflow) to meet your test case needs, or you can use one of the dozens of apps available in our Atlassian Marketplace. To get an idea of the alternatives available to you, we recommend reading through our documents on integrating JIRA Software with Test Management tools.
The content below was created specifically for JIRA 3.x. While much of this information remains accurate for the latest versions of JIRA, some aspects may be out of date. Apps in Atlassian Marketplace represent the easiest approach to test case management.
JIRA can also be integrated with a dedicated, third-party test manager or customised to perform lightweight test management as described below:
Option A - Customisation
Because JIRA currently offers no direct integration with automated testing frameworks, the preferred approach is to handle automated testing via a continuous integration (CI) server and use JIRA primarily for manual testing. You can setup acceptance, integration, functional tests inside JIRA.
Some specific features of JIRA that are useful for TCM:
Link to bugs and requirements
Great for manual testing
Custom issue types such as test case and user story
Multiple affects/fix for versions
Automatic and manual issue assignment
Workflow controls QA, devs and tester actions
Subtasks for manual testing
Integrates with source code repository
Issue comments and attachments
Import from other systems
Uses an existing and known tool
Only integrates with testing frameworks via CI server - could be addressed by developing your own JIRA plugin
No testing-specific functionality - specific features could be added by developing your own plugin
General Use Case
Using JIRA as your test case manager will support these following requirements:
- Test cases need to be defined before they can be run.
- Changes to the definitions of test cases may be made in parallel for different branches and their releases.
- The results of running the test cases have to be accumulated somewhere.
- Reports should contain information about many tests run over a period of time on a particular release.
- The reports should be easy to update when the underlying information changes, e.g. as ongoing tests pass and fail, or new tests are added and old tests are removed.
- The reports should contain a clear summary of the state of the testing activity for each release.
- The format of the reports should be such that they can be archived as self-contained collections of files such as test logs.
- If a large number of test cases are already defined, then automatic import into the test case manager.
You will need the following tools to customise JIRA for internal TCM:
- A copy of JIRA for you to test with.
- A continuous integration (CI) server. This guide will assume that you are using the Atlassian Bamboo CI server as it offers JIRA integration.
- An automated testing framework able to output tests in a JUnit-compatible format, eg Selenium or JUnit.
- Optionally, you may like to store your test plan and internal project documentation in the Confluence wiki. See using Confluence for project documentation.
To proceed, please follow this guide to customising JIRA for test case management.
There is another helpful third party writeup here.
Option B - Integration
If the above features are insufficient then please consider integrating JIRA with a dedicated, external test case manager.
Also check out zAglie Teamwork and their great 1, 2, 3, 4 step introduction.
For help or to ask questions, simply post to the community on Atlassian Answers.
While JIRA wasn't designed to serve as a Test Case Management, it can be configured to support test case management in a couple of different ways.
The JIRA platform is, at its core, our workflow engine that allows you to track issues or tasks through a predefined, highly customizable workflow. These tasks can be organized by project, allowing for the entirety of your organization to track their issues at a project level with complete transparency using granular user permissions. In JIRA Software, you are provided with some additional agile functionality, including the ability plan agile work from project backlog to sprint. You'll have fully customizable Kanban and Scrum boards, the ability to estimate time for issues as you prioritize your backlog, and robust reporting features, ranging from burndown charts to velocity measurements. You can either modify its native components (i.e. issue type & workflow) to meet your test case needs, or you can utilize one of the many third party Apps available in our Atlassian Marketplace.
To get an idea of the options available to you, we recommend reading through our documents on integrating JIRA with Test Management tools.