With Import Test Case, we are able to specify that the imported XML should add a new version to an existing test case if the name matches.
Is there a design reason why the Import Test Suite does not support a similar capability?
My particular need is to systematically update many test cases. So I am exporting the test suites to XML, modifying the XML and re-importing into TestLink.
(As a further refinement, I was thinking it could be nice to have TestLink also detect when a duplicated name test case did not change. For example, after exporting say 10 testcase, modifying 8 in XML and re-importing, TestLink would update 8 test cases each with a new version and not change 2 test cases.)
Import Suite to update test cases with new version?
Moderators: Amaradana, TurboPT, TL Developers
Re: Import Suite to update test cases with new version?
Please get 1.9 beta 5 and see if new features in import test case area can be useful for you.
There will be no new developments on 1.8.x version
There will be no new developments on 1.8.x version
Re: Import Suite to update test cases with new version?
In 1.9 Beta 5, the 'Import Test Suite' behavior remains as in 1.8; when I import a suite and a duplicate test case name is found, a new copy of the same test case is created with a unique name.
From looking at the code in 1.8.5 and 1.9 beta 5, it appears that it may not be too difficult to change the upload/import code (tcImport.php) to support adding a new version of a test case when an identical name is found.
Is there an intentional reason why the 'useRecursion' (suite import) and 'create_new_version' (individual test case import) options are exclusive from each other?
From looking at the code in 1.8.5 and 1.9 beta 5, it appears that it may not be too difficult to change the upload/import code (tcImport.php) to support adding a new version of a test case when an identical name is found.
Is there an intentional reason why the 'useRecursion' (suite import) and 'create_new_version' (individual test case import) options are exclusive from each other?
Re: Import Suite to update test cases with new version?
add feature request on mantis, please do not add link to this post, but give detailed steps on mantis issue description
Re: Import Suite to update test cases with new version?
Added as feature request 3571: http://mantis.testlink.org/view.php?id=3571