How to determine which test suites use my test configuration?
-
06 Mart 2012 Salı 23:56
Hello again,
How can I determine which test suite is using my test configuration? I have one I want to delete, but I don't want to do so until I determine if anyone is using it.
Is there no way to delete a test configuration if it has ever been used?
- Bruce
Bruce
Tüm Yanıtlar
-
07 Mart 2012 Çarşamba 15:14
I would do it with the sdk.
Query all test plans where testSetting is used.
testProject.TestPlans.Query("SELECT * FROM TestPlan").Select(i => i.AutomatedTestSettingsId).ToList();
or use the ITestSettingHelper instead and Find() the setting you are after. http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.testmanagement.client.itestsettingshelper.aspx
Please remember to mark the replies as answers if they help.
Blog: http://geekswithblogs.net/TarunArora
Subscribe in a reader- Yanıt Olarak Öneren niveditabawa_MSFTMicrosoft Employee, Moderator 08 Mart 2012 Perşembe 02:45
-
07 Mart 2012 Çarşamba 15:21
You could also use command line "tcm" to get this information. http://msdn.microsoft.com/en-us/library/ff942472.aspx use tcm plan and the switch query to filter the result to all plans that use the test setting file you are after. example in the link.
Please remember to mark the replies as answers if they help.
Blog: http://geekswithblogs.net/TarunArora
Subscribe in a reader- Yanıt Olarak Öneren niveditabawa_MSFTMicrosoft Employee, Moderator 08 Mart 2012 Perşembe 02:46
- Yanıt Olarak İşaretleyen BABRC 08 Mart 2012 Perşembe 17:37
-
08 Mart 2012 Perşembe 05:09Moderatör
Hi Bruce,
How about the issue now?
Tarun has provided information in the reply, is there any help of this issue?
If anything is unclear, please free feel to let me know.
Best Regards,
Lily Wu [MSFT]
MSDN Community Support | Feedback to us
-
08 Mart 2012 Perşembe 17:39
Ok - I'll try this. Thanks.
I would prefer the command-line option. If that doesn't work, I'll go to the SDK to get it.
- Bruce
Bruce
