{"id":483,"date":"2012-03-12T06:06:23","date_gmt":"2012-03-12T06:06:23","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2012\/03\/12\/running-only-impacted-tests-in-tfs-2010-build\/"},"modified":"2012-03-12T06:06:23","modified_gmt":"2012-03-12T06:06:23","slug":"running-only-impacted-tests-in-tfs-2010-build","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/running-only-impacted-tests-in-tfs-2010-build\/","title":{"rendered":"Running only impacted tests in TFS 2010 Build"},"content":{"rendered":"<p>Richard Hundhausen pointed out this blog post recently, and I thought I&rsquo;d mention it here.&nbsp; Rob Maher walks through the process of setting up a build definition to run only the tests that involve the code that was changed.<\/p>\n<blockquote>\n<p><strong><a href=\"http:\/\/scrumdod.blogspot.com\/2011\/03\/tfs-2010-build-only-run-impacted-tests.html\">TFS 2010 Build &#8211; Only run impacted tests<\/a><\/strong><\/p>\n<p>If your tests take a long time to run, you may wish to only run the tests that have been impacted by code changes checked in with the build (and of course run a full nightly build that executes all tests \ud83d\ude42 Unfortunately there is no out of the box feature to do this, so we need to edit our build xaml to do it. <\/p>\n<p><a href=\"http:\/\/scrumdod.blogspot.com\/2011\/03\/tfs-2010-build-only-run-impacted-tests.html\">more&hellip;<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Richard Hundhausen pointed out this blog post recently, and I thought I&rsquo;d mention it here.&nbsp; Rob Maher walks through the process of setting up a build definition to run only the tests that involve the code that was changed. TFS 2010 Build &#8211; Only run impacted tests If your tests take a long time to [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[7,11],"class_list":["post-483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-team-build","tag-tfs-2010"],"acf":[],"blog_post_summary":"<p>Richard Hundhausen pointed out this blog post recently, and I thought I&rsquo;d mention it here.&nbsp; Rob Maher walks through the process of setting up a build definition to run only the tests that involve the code that was changed. TFS 2010 Build &#8211; Only run impacted tests If your tests take a long time to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=483"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/483\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}