Copying and cloning test suites and test cases

TFS offers two types of copy operations for test suites and test cases, namely, copy and clone. Copy uses a mechanism called shallow copy that simply creates a reference to the artifact. If any amendment is made to the artifact, it reflects into all its references. Clone uses a mechanism called deep copy; the new artifacts have no reference back to its origin and is not impacted by any updates made to the original artifact. A common scenario for using shallow copy is when testing using the same scripts across multiple iterations. On the other hand, a common scenario for deep copy is creating a regression test script by copying several existing test suites and test cases. In this recipe, you'll learn ...

Get Microsoft Team Foundation Server 2015 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.