Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,236
Community Members
 
Community Events
176
Community Groups

auto reset test executions after test update

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

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

thank you for the links !

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events