Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

How to provide test case versioning using in built feature


#1

Hi Team

We are struggling to find out how to maintain versing for the test case. Is there any particular feature to maintain versioning or we need to add custom field. Below is our case.

Sprint 1:
We have a test case let say TC1 with version1

Sprint 2:
Now TC1 got enhanced with additional feature so we are updating this test case as well as its version also

After updating it look like TC1 with version 2

Sprint 3:
Now TC1 got enhanced with additional feature so we are updating this test case as well as its version also

After updating it look like TC1 with version 3.

Can we achieve this in test rail.

Thanks,
Raja.


#2

Hi Raja,

Thanks for your post! TestRail has built-in functionality to archive test cases when a test run is closed. This automatically saves a version of the test case so that any future changes to the test case in your main repository aren’t reflected on previous sprints/runs that have been closed already. The test case itself would have a history of changes in the history tab that you could use to view the different versions of the test case. The test case wouldn’t be labeled any differently, but you would still be able to see the changes over time. Depending on your use case, you may also want to consider using the Baselines project suite mode, as this would allow you to maintain separate baselines/suites for each version/sprint simultaneously. You can learn more about how TestRail handles test case versioning on the following blog post:

https://blog.gurock.com/test-management-test-case-versioning/

Hope this helps!

Regards,
Marco