{"id":3163,"date":"2006-11-09T23:59:33","date_gmt":"2006-11-09T23:59:33","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2006\/11\/09\/updated-version-of-new-testtoolstask\/"},"modified":"2006-11-09T23:59:33","modified_gmt":"2006-11-09T23:59:33","slug":"updated-version-of-new-testtoolstask","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/updated-version-of-new-testtoolstask\/","title":{"rendered":"Updated version of new TestToolsTask"},"content":{"rendered":"<p>I&#8217;ve updated the TestToolsTask that supports using test containers, in addition to the test metadata files supported by v1.&nbsp; Unfortunately, the task I posted originally didn&#8217;t result in builds being marked as failed when the tests had errors.&nbsp; I&nbsp;missed that fact&nbsp;in my testing.&nbsp; The reason for the problem&nbsp;is that the v1 Team Build logger looks for the task name, TestToolsTask, and the power toy task was originally called TestToolsTaskEx.&nbsp; With this new release, the task has the same name as the original v1 task, so that builds will be marked as failed when the tests fail.<\/p>\n<p>If you downloaded the original release, you simply need to copy the Microsoft.TeamFoundation.Build.targets and Microsoft.TeamFoundation.PowerToys.Tasks.QualityTools.dll files&nbsp;from the zip&nbsp;to get the fix (see the Word doc for the paths). <\/p>\n<p>Thanks to Thomas for pointing out this bug! <\/p>\n<p>The updated version is attached to the <a href=\"http:\/\/blogs.msdn.com\/buckh\/archive\/2006\/11\/04\/how-to-run-tests-without-test-metadata-files-and-test-lists-vsmdi-files.aspx\">original post<\/a>.&nbsp; I apologize for the inconvenience.<\/p>\n<p>tags: <a href=\"http:\/\/technorati.com\/tag\/vsts\" rel=\"tag\">vsts<\/a>, <a href=\"http:\/\/technorati.com\/tag\/team+system\" rel=\"tag\">team system<\/a>, <a href=\"http:\/\/technorati.com\/tag\/tfs\" rel=\"tag\">tfs<\/a>, <a href=\"http:\/\/technorati.com\/tag\/team+foundation\" rel=\"tag\">team foundation<\/a>, <a href=\"http:\/\/technorati.com\/tag\/team+build\" rel=\"tag\">team build<\/a>, <a href=\"http:\/\/technorati.com\/tag\/vsmdi\" rel=\"tag\">vsmdi<\/a>, <a href=\"http:\/\/technorati.com\/tag\/msbuild\" rel=\"tag\">msbuild<\/a><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve updated the TestToolsTask that supports using test containers, in addition to the test metadata files supported by v1.&nbsp; Unfortunately, the task I posted originally didn&#8217;t result in builds being marked as failed when the tests had errors.&nbsp; I&nbsp;missed that fact&nbsp;in my testing.&nbsp; The reason for the problem&nbsp;is that the v1 Team Build logger looks [&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,8],"class_list":["post-3163","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-team-build","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>I&#8217;ve updated the TestToolsTask that supports using test containers, in addition to the test metadata files supported by v1.&nbsp; Unfortunately, the task I posted originally didn&#8217;t result in builds being marked as failed when the tests had errors.&nbsp; I&nbsp;missed that fact&nbsp;in my testing.&nbsp; The reason for the problem&nbsp;is that the v1 Team Build logger looks [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/3163","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=3163"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/3163\/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=3163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=3163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=3163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}