Versions Compared

Key

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

Table of Contents

Introduction Xray

Xray for Jira is a Test Management tool (app) that provides the structure to organize, plan, and report with accuracy on the progress of testing as well as the readiness to deploy.

Issue types used for Testing

...

Test

Test should be created within the ticket of a story. It represents one test case, with one or more steps. A story should have at least one Test linked to it, but it could be more depending on the story. These Tests should be added to a Test Plan at the start of a sprint. A Test also has different statusses:

...

Do we need / want repositories. If yes, what status, what naming convention etc. 

Test Process Workflow (draft)

draw.io Diagram
bordertrue
diagramNameXray test process
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth1401
revision4

Xray: Testing Process workflow within the Sprint YIS Project

Step-by-step guide

1. Create a new empty Test Plan

Image Modified

At this moment there will be no Tests yet in this Test Plan. When scrolling down this Edit screen, it is possible to add this Test Plan to the current screen:

Image Modified

2. Create one or more Test tickets for each story on the (Scrum of Kanban) related project board

For each story in this sprint it is possible to create one or more Tests. 

Image Modified

This will open up a pop up screen where various setups can be created. At this point the naming is important (a reference to the actual story), checking that the the linked story is correct (under Link Issues) and the the Test Plan is added (under Test Plans):

Image Modified

Optionally a Test Set can be linked here, for example to link this Test to other tests for the same interface. Another option is to add Pre Conditions, that should already have been pre defined. 

...

When the Test tickets have been created in step 2, it is possible to define the actual Test case in the newly created Test ticket. As many steps as possible can be added to each Test:

Image Modified


Within each step there is room for the actual action where a description is to be entered about the Test case. Test data (conditions) can be added in the second space. And in the last space there is a space for the expected results, to be extracted from the requirements and functional documentation. At this point it is also a possibility that questions about these requirements will come up, so this would also be a good time to get some extra confirmation from the PO or BA in case of doubts about the expected results.

Image Modified

After all test cases/test steps have been created and the tests have good coverage for this story, the Test ticket can be set to done, in order to know that this Test can be executed as soon as development and reviewing is done for the story.

...

Once all the Test tickets have been created it is possible to get an overview of their status by looking at the XRay Test Plan Board just to see which Test tickets should still be completed.

Image Modified

If all Test tickets are done, it is possible to create a Test Execution ticket for all of them in once from within the Test Plan ticket:

Image Modified

Once All Tests has been selected, a new ticket will be created with the Test Execution of all the tickets. It is of course also possible to add one Test at the time to the execution ticket, so it is not necessary to wait until all Tests are done. 

It is important to check that just as with the Test Plan, this Test Execution is linked to the current sprint.

5. Executing Tests

There are several ways to execute the Test created for the stories. It is possible to get to the execution from the Test Plan. Just click on the little triangle on the left side of the desirable Test and the Test execution will show. From there the Run icon on the right side shows and can be clicked to start the Execution of this Test:

Image Modified

This same icon can also be used for Tests that already ran, to see the execution details for example:

Image Modified

Another way to execute test is from within the Execution ticket itself. From there it will be possible to execute them immediately:

Image Modified


A third option to execute the Test is from the Test ticket itself:

Image Modified

If for some reason this Test has not yet been added to this sprints Test execution, this can also be done here:

Image Modified

These 3 ways of getting to the actual execution will result in the same execution screen, where the earlier created Test case will show and be replayed by the Tester. It's following the exact steps and compare the expected result with the actual result.
Evidence like response body's or screenshots can be added for each step or in general. The final stage is of the execution is either to let it fail or pass by choosing the colored little box on the right bottom place of each test step:

Image Modified

If all steps succeed (green box), the ticket will appear as a Pass in both the Test Plan and the Test Execution ticket, as well as on the Xray Test Plan Board and in the story. Once all Tests from the Test execution/Test Plan have passed, the stories can be set to ready for deployment and the sprint can be closed. draw.io DiagrambordertruediagramNameXray test processsimpleViewerfalsewidthlinksautotbstyletoplboxtruediagramWidth1401revision4

Xray: Testing Process workflow within the Sprint

Step by step guide

  1. When the new Sprint is started TM creates Test Plan for this sprint in Jira

Image Removed

TM creates Tests (issue type) for all stories included into Sprint and associates them with Test Plan.

Tests should be created from the story:

Image Removed

Image Removed

Image Removed

2. When Tester starts work with the story, he/she creates Test Design for the story within the associated Test 

Image Removed

Tester add test steps with all necessary data and Expected Results

Image Removed

3. The development is done and story is deployed for testing, Tester goes to the story and creates Test Execution for the newly created Test

Image Removed

4. To start test execution click  icon "View runs"  from the Story:

Image Removed

or click on "Execute in" in Test issue:

Image Removed

Test run will open in a new tab.

(warning) If you don't see the "View runs" icons in the Story, open the Test, scroll down to Executions. There is a Play (Run) button near each execution.

Click it and select Execute:

Image Removed

(star) Please note: to be able to run the execution, it should be assigned to you. Otherwise you will not see the Execute button.

5. Tester executes all steps manually on test env and set the status for each step (Pass/Fail) within created Test Execution 

Image Removed

Bugs should be associated with test step if found

Image Removed

6. Each Test Execution should be added to Test Plan by Tester

Image Removed

7. If bug was found and test step is failed, new Test Execution should be created after bug fix. Steps 3-6 should be repeated

8. Test is completed when all test steps are green for latest Test Execution


Boards


XRAY Test Plan Board

...