Preventing duplicate test cases with Test Case Migrator Plus

May 22, 2012 at 10:54 PM

TCM+ is working pretty well for me. One thing I'm not clear on is how to prevent duplicate test cases during a migration. Currently if I do migration, add a few more test cases and migrate again, I will get duplicates. I could of course just "not do that" but I'm wondering if there is a way for TCM to prevent that which I'm not aware of.

May 22, 2012 at 11:31 PM

joeldr, I don't think you can prevent duplicate test cases. Whenever you use the migration utility, you are creating new IDs for each record you're importing. The tool does not check TFS for existing items.

If you need to delete duplicates, you can use the witadmin command line tool using this format: witadmin destroywi /collection:CollectionURL /id:id [/noprompt]