auto reset test executions after test update

Tristan FAURE August 16, 2021

Hello

I have requirements tested by tests

I have several coverage statuses according to different versions (Version1 OK, Version 2 OK)

If I have Version 2 OK for my requirement and if I update a test, I though that my coverage would be reset. 

If I go to my test execution for Version 2 and If I do reset, my coverage is set to "not run". Is it possible to automatically reset the test executions after a test details update ?

 

1 answer

1 accepted

0 votes
Answer accepted
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 1, 2021

Hi @Tristan FAURE ,

the rules for calculating the coverage status are describe here.

There's also a free course on Xray Academy covering this topic.

In brief words, the status of a requirement for some version depends on the latest results that you obtained for the related tests, on that version (i.e., on test executions assigned to that version).

Let's say that you have this scenario:

  • user story A covered by Test X
  • you created a Test Execution with Test X, where the Test Execution is assigned to v1
  • you report the corresponding test run for Test X on that T.Exec as being PASS
  • the status of user story A will be OK on v1

 

if you now change the specfiication Test X, user story A will still be OK because it is based on the results that you recorded.

 

Note: eventually you could use the workflow status, the one that is part of the Jira issue, to signal that. There's an example on the docs using ScriptRunner (for Jira server/dc) but for the opposite case (i.e. when changing a requirement, change the workflow status of the related Tests). If you're curious about it, please have a look at it.

Regards

Sérgio

Tristan FAURE September 13, 2021

thank you for the links !

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events