Thread

Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > Exporting test case templ...

Exporting test case templates to another project results in duplicates RSS Feed

Wednesday, October 1, 2014

For our projects, we use some test case templates, that contain variables like ${Condition} and ${Action}. Then, it is possible to link these from other test cases where there variables are replaced with some parameters.

When we export test cases (the linked ones and the templates) to another project (for reuse), we run into some issue:
Suppose we have a collection of test cases that used the same template(s), and these test cases are spread over multiple folders. When we export this collection to another project, the same folder structure is created in the new project. However, for each test case that links to a template, a new copy of that template is made in the same folder as it is linked in. This results in a lot of additional templates that are all similar. But this is not 'our' purpose of a template.

Is there a way to prevent this behavior?

3 Replies
Stefan van LoenhoutStefan van Loenhout
re: Stefan van Loenhout on Wednesday, October 1, 2014
Thursday, October 2, 2014
Stefan van Loenhout

For our projects, we use some test case templates, that contain variables like ${Condition} and ${Action}. Then, it is possible to link these from other test cases where there variables are replaced with some parameters.

When we export test cases (the linked ones and the templates) to another project (for reuse), we run into some issue:
Suppose we have a collection of test cases that used the same template(s), and these test cases are spread over multiple folders. When we export this collection to another project, the same folder structure is created in the new project. However, for each test case that links to a template, a new copy of that template is made in the same folder as it is linked in. This results in a lot of additional templates that are all similar. But this is not 'our' purpose of a template.

Is there a way to prevent this behavior?

 

Stefan van LoenhoutStefan van Loenhout
re: Stefan van Loenhout on Thursday, October 2, 2014
Thursday, October 2, 2014
Whoops, something went wrong. I wanted to comment that it is even worse, the copied 'templates' have lost their parameters as well.
Elise B.Elise B.
re: Stefan van Loenhout on Thursday, October 2, 2014
Friday, October 3, 2014
Hi Stefan,

This is a known issue when exporting test cases that have links. I'm sorry for the inconvenience. 

Next year, we are planning to release SpiraTeam version 4.3, in which the test case organization functionality will be completely redesigned. So the issue will be solved at that time.

For now, the only workaround I can think of is this: Those linked test cases (templates) won't get duplicated if you export a folder that contains all of the test cases that use them. I know you said that they are currently spread over multiple folders. But if you copy them all into a single folder, and then export that folder, you should end up with only one copy of each template.

Regards,
Elise
Tagged
Statistics
  • Started: 10/1/2014
  • Last Reply: 10/3/2014
  • Replies: 3
  • Views: 402
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.