You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Since Xray v3.1, you can receive email notifications related with Test Runs.


How it works

Xray reuses the notifications mechanism provided by Jira; this simplifies a lot the management of Test Run notifications.

This means that email notifications are triggered based on the configuration of notifications of events, in the context of the Notification Scheme being used by the project.

When Xray is installed, the following events are also installed (if they don't exist yet):

  • Test Run Assigned
  • Test Run Status set to Final
  • Precedent Test Run Status set to Final

However, by default, no notifications will configured for those events upon installation; you'll need to add, and therefore enable, them explicitly.

Project Setup

Detailed setup

In order to enable notifications in some project, you need to:

  1. go to project settings => Notifications
  2. from the Actions menu, choose "Edit notifications". Note that this will impact the Notification Scheme being used by this project and all other projects that also use it.
  3. in each Test Run related event, click on "Add" in order to add a notification to the related Notification Scheme
  4. in the notification configuration page, besides the Event that will be pre-selected, define who shall receive the email notifications related with that event

     

Quick setup

There is a quick setup, that will create a notification for each Test Run related event and will configure it for the "current assignee"

  1. go to project settings => Summary
  2. from the Actions menu, choose "Enable Test Run notifications". Note that this will impact the Notification Scheme being used by this project and all other projects that also use it.
  3. For each Test Run related event, a notification will be created and assigned to the "current assignee"

Events

Test Run Assigned

This event is triggered whenever a Test Run is assigned to some user.

Use cases:

  • Whenever a specific Test Run is individualy assigned to some user (e.g. in the Test Execution screen), the "Test Run Assigned" event is triggered;
  • Whenever a Test Execution is created, all Test Runs are assigned by default to the Test Execution assignee. In this case, the "Test Run Assigned" event is not triggered;
  • Whenever several Test Runs are assigned to some user using the bulk operation, in the Test Execution screen, the user is asked if email should be sent (i.e. if the event should be triggered).

Test Run Status set to Final

This event is triggered whenever a Test Run is changed to a final status. For more information on final statuses, see Manage Test Statuses.

Use cases:

  • Whenever a specific Test Run is changed to a final status (e.g. in the execution screen or as an inline change), the "Test Run Status set to Final" event is triggered;


  • No labels