Introduction Xray


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:

  1. BackLog: added to a story but not yet defined
  2. To Do: the sprint has started, the requirements are clear, so the Test could be picked up to create the test steps, even if development has not yet started
  3. In Progress: the story is being developed or even development is done. The Test should be created and defined. Steps should be described and the expected results should be clear 
  4. Done: the Test itself is finished and ready to be executed as soon as the development of the story is done and reviewed and the ticket is set on 'Ready for test"

The Test itself should not be linked to a sprint, but the Test Plan of which this test is a part of should be.

Pre- Condition

Abstract initial steps that mast be ensured before starting the test.

Test Plan

To be created at the start of each sprint and linked to that sprint. It is just needed to create an empty Test Plan, which can be filled with Tests created for each story in the sprint. The name should reflect the naming of the sprint, for example "DMS Test Plan sprint 1", "DMS Test Plan sprint 2" etc.

Test Set

When? How? Naming convention. Set the best practice and min requirements. 


Test Execution 

“Test execution” is used for a task for executing a test or a group of tests on a given version and environment of the system.

Sub Test Execution 



Repositories (PreRequisites)

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



Xray Workflow



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

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

Tests should be created from the story:



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


Tester add test steps with all necessary data and Expected Results


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


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


or click on "Execute in" in Test issue:


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:


(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 

Bugs should be associated with test step if found


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


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

Planning per sprint


Jira Project Board YIS- All test products

Issue type visible on board: Plan and Plan Execution

Use Switch sprint at the top to filter on a specific sprint.