Forum Discussion
Azure DevOps Test Plans Test retention - What influences setting back test outcome to Active?
Hey there,
I just wanted to understand, what has an effect on the retention of the outcome of a test run. http:// https://learn.microsoft.com/en-us/azure/devops/test/how-long-to-keep-test-results?view=azure-devops#set-retention-period-for-test-results is explaining a setting for that. So, if I set the test retention setting „Days to keep..." to "Never delete" I'm expecting that the test outcome isn't touched after a specific time, right?
Are there any other use cases which leads into setting the test outcome back to active automatically, like changing a requirement which is linked (tested by) to the test case?
thx
2 Replies
I believe yes, when Azure DevOps Test Plans retention is set to “Never delete,” test outcomes are preserved indefinitely. The only scenario where a test outcome is reset to Active is when retention policies delete test runs/results; requirement changes or linked work item updates do not automatically reset outcomes.
Yes, retention can set related test point outcomes back to Active when test runs/results are deleted. If you set manual test result retention to “Never delete,” retention should not reset those manual outcomes due to age, but automated results can still be affected by build retention policies. I’d check both the project-level test retention and the build pipeline retention settings.