Versions Compared

Key

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

...

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


Table of Contents

DynamicTestPlans

The purpose of Dynamic Test Plans is the possibility to have dynamic list of Tests based on some given criteria/filter (i.e. JQL). 

It is possible to define the Test Plan as static or saved filter. The default type when a Test Plan is created will be static:  

  • Static: composed of a list of Tests that can be added and removed by the users
  • Saved Filter: defined with a Saved Filter. The Tests will be fetched automatically from the configured Saved Filter and users can not add or remove Tests without editing/changing the saved filter

You can configure from saved filter to static. In this case, the Tests are not be removed. The Tests will remain on the Test Plan and users will be able to add/remove Tests.

Create Test Plan

To create a new Test Plan Issue, 

...

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 RemovedImage Added

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