Versions Compared

Key

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

This gadget provides a way to see the evolution of a group of Tests in some version of the system by taking into account some given Test Executions.

Table of Contents

Aim

See the evolution/trend of the current status of a group of Tests, taking into account the results from those Tests in some given Test Executions.

...

Info
titlePlease note

Please note that only the selected/filtered Test Runs from the given Test Executions are taken into account for the calculation of the status of the Tests for a given moment in time.

This means that only those Test Runs are considered. Therefore, as an example, if some Test was PASS (because you already had executed it somewhere in the past and the latest status of it was PASS) but you're only taking into account some more recent runs, then it will start by showing as TODO at the start of the chart.

 

How does it work

The Tests Evolution gadget alows you to see the evolution/trend of Tests over time, which may occur due to new executions made for those Tests or to changes made to the reported statuses in the existing Test Runs.

Threrefore, this gadget does its calculations based on the historical changes for the Test Runs being considered. Note that for a given Test Run you may or not change the Test Run statuses several times; this gadget will consider it.

It also takes into account the setting "Final statuses have precedence over non-final statuses", available under "Manage Test Statuses" in Xray settings.


General rules for the calculation of the status at a given day

  • changes made over time to the status of a Test Run will be reflected in the status calculated for that Test  (no matter if it's a final or non-final status)
  • a status will "persist" (be valid) from the moment it has been recorded until the next status change in that Test Run or in another Test Run
  • the "Started on" or the "Finished on" dates of the Test Runs are not taken into account for the calculation

"Final statuses have precedence over non-final statuses" checked

scenarioyesterdaytoday 10amtoday 11am
1

TR1

TR1

-Test Run
PASSTO DO-status change made in that day
PASSTO DOcalculated Test status for that day

2

TR1

TR1TR1Test Run
PASSFAILTO DOstatus change made in that day
PASSTO DOcalculated Test status for that day
3TR1TR2-Test Run
PASSTO DO-status change made in that day
PASSPASScalculated Test status for that day
4

TR1TR2
Test Run
PASSFAIL
status change made in that day
PASSFAILcalculated Test status for that day
5-TR1
Test Run
-PASS
status change made in that day
-PASScalculated Test status for that day


"Final statuses have precedence over non-final statuses" unchecked

In this case, all statuses are considered independently if they are final or not. The key differentiator is that  latest test runs are always considered, just by taking into account their creation date.

   

scenarioyesterdaytoday 10am

today 11am


1

TR1

TR1

TR1Test Run
PASSFAILTO DOstatus change made in that day
PASSTO DOcalculated Test status for that day
2TR1TR2TR2Test Run
PASSFAILTO DOstatus change made in that day
PASSTO DOcalculated Test status for that day
3

-TR1TR2Test Run
-FAILPASSstatus change made in that day
-PASScalculated Test status for that day
4TR1TR2-Test Run
TO DOPASS-status change made in that day
TO DOPASScalculated Test status for that day