Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The purpose of a Test Plan is to enable you to have a better visibility and management over your Tests.

It provides a table that shows all the Tests added to the Test Plan and their respective Test Executions that are also associated with the Test Plan.

A Test Plan can be defined as:

  • Static: by adding Tests explicitly to the Test Plan issue using the Xray issue picker.
  • Dynamic: by defining a saved filter as the source of Tests for the Test Plan. This way, all Tests on the filter will be added automatically into the Test Plan by Xray. For example, you can define a Test Plan with a filter containing the Tests associated with Stories from a Sprint. Your Test Plan will collect all relevant Tests for that Sprint automatically. If a Test Plan is configured with a saved filter, it is not possible for users to add or remove Tests explicitly from the Test Plan.


Info
titleXray Enterprise Feature

Image Added

Dynamic Test Plans is a feature of Xray Enterprise. If you do not have Xray enterprise installed, the dynamic test plans is not available in the Test Plan and it is not possible to configure dynamic test lists.


If tracking a particular version, the Test Plan will present the latest status for each Test, independent of the number of testing iterations (i.e.,Test Executions) you make with them.

...

From the Test Plan, it's possible to create one or more Test Executions, for all or just a subset of the Tests contained within the Test Plan (e.g., only those Tests that are still faillingfailing).

You are also able to assign one or more Test Plans to a given release and track the progress of those tests within each Test Plan.

The coverage analysis can also be done taking into account just considering the tests from a given Test Plan and its related Test Executions. 

This is a list of actions that you can perform on Test Plans:

Table of Contents

Create Test Plan

...

Step 4: Under the Test Plan Details tab, you can populate the Test Plan custom fields provided by Xray, namely the Begin/End date. In this tab, you can also add tests to the Test Plan.

Step 4a – In thistab, you can selectanexistingSavedFilterbyname,ontheCustom Field named "TestPlanTestsFilterandcreate a DynamicTestPlan.

Optional: To create a series of similar Test Plans – within the same Project – select the Create another checkbox at the bottom of the dialog.

...

- Note that if you choose Test Sets, you are not actually adding Test Set(s); instead, you are adding the Tests that belong to that Test Set(s).

Image RemovedImage Added

Step 3Open the Search tab.

...

The Test Plan Test view section in the issue page provides you with a table where you can see all the Tests that were added to the Test Plan and their Test Executions (if they are associated to the Test Plan). 

Image RemovedImage Added


  1. Add Tests (directly or from Test Sets(Notavailableifconfigured as DynamicTestPlan)
  2. Create planned Test Execution (see next Section), so its results be reflected on the current Test Plan
  3. Test Plan Progress Bar
  4. Table Filters
  5. Use a Test Environment to calculate the status for test issues for that environment.
  6. Configure TestPlanwithSavedFilter (seeSectionConfigure Test Plan with SavedFilter) (Only available in Xray Enterprise)


It is possible to filter tests by status in Test Plan Progress Bar as shown in the image below:

...

Each row represents a Test with configurable columns, with the exception of the Latest Status. Each row also contains an inner table with information about the Test Execution. Click on the blue arrow to see the inner table for a particular test.

Image RemovedImage Added


This inner table is similar to the Test Run table as it allows for inline execution ( 1 )  and for operations like assignee and remove ( 2 ). This inner columns are not configurable.

...

The most common and straightforward option to create a Test Execution for all the Tests, or for a subset of those that are currently in some consolidated status, is by using the option available at the top of the Test Plan issue screen.


Image RemovedImage Added

The Create Test Execution button will open a dropdown with some options that will allow you to select the Tests that will be part of the Test Execution. 

...

You can select some Tests, using the bulk selection (1), and then schedule a Test Execution for them.

Info
titlePlease note

DynamicTestPlan - IftheTestPlanisconfiguredwithsavedfilter, itisnotpossibleuse thebulkselection

Image AddedImage AddedImage RemovedImage Removed

Clone Test Plan and respective Board

...

The new Test Plan will be created in a clean state, containing the original Tests without any execution related information. If hierarchical test organization, the Board folder structure is also cloned.Image Removed.


Image Added


Configure Test Plan with SavedFilter

In addition to being able to explicitly add tests to the Test Plan, you can use a filter and you can define a custom JQL depending on your needs so that tests will appear automatically on the Test Plan, as follows.

Step 1: Click on dropdown menu button with a "more" icon and then click Configure.

Image Added

Step 2: Click on option Saved Filter.

- A link button named "View Filter Query" is provided to navigate to the Saved Filter Jira issue page.

- A link button named "New Filter" is provided next to the Saved Filter select field. This button open the Jira issue search page.

Image Added

Step 3: Select a query from the select field.

Step 4: Click Save button to save the Test Plan configuration.

        - Xray update the Tests in the Test Plan automatically and the Tests panel refreshed


Image Added