{"id":19435,"date":"2016-08-02T18:55:50","date_gmt":"2016-08-02T11:55:50","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/?p=19435"},"modified":"2019-02-14T17:33:47","modified_gmt":"2019-02-15T01:33:47","slug":"traceability-with-continuous-testing","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/traceability-with-continuous-testing\/","title":{"rendered":"Traceability with Continuous Testing"},"content":{"rendered":"<p>With the deployment of Sprint 103, we are enabling users to track the quality of their Requirements right on the\u00a0Dashboard. We already have a solution for Requirements quality for our Planned testing users and we are bringing it to our users who follow Continuous Testing. Users will be able to link automated tests directly to Requirements and then use Dashboard widgets to track the quality of Requirements you are interested in tracking, pulling the Quality data from Build or Release. This feature will work for tests written in any language and using any framework.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/Dashboard.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/08\/Dashboard.png\" alt=\"Dashboard\" width=\"501\" height=\"331\" class=\"alignnone size-full wp-image-19465\" \/><\/a><\/p>\n<p>To achieve this, a new icon has been introduced on the Test Results page which enables you to link your Automated tests to Requirements. Select 1 or more automated tests from the Test results page and click on the icon.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/TestResults.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/08\/TestResults-500x267.png\" alt=\"TestResults\" width=\"500\" height=\"267\" class=\"alignnone size-mediumlarge wp-image-19485\" \/><\/a><\/p>\n<p>A dialog pops up which helps find the Requirement you want to associate the tests to. Clicking in the Search box shows the most recent Requirements you have been working on. Select one of those, or search for the Requirement using ID or text.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/Associate-Tests.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/08\/Associate-Tests-455x350.png\" alt=\"Associate Tests\" width=\"455\" height=\"350\" class=\"alignnone size-mediumlarge wp-image-19445\" \/><\/a><\/p>\n<p>Once you have found the right Requirement, select it and click Associate.<\/p>\n<p>You are on your way! Repeat the above step for all tests you want to associate to Requirements. To see un-associated tests, use the new Group By option of Requirement which shows you the quality of all Requirements associated to tests in this build as well as all tests that are not associated.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/Group-By-Requirement.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/08\/Group-By-Requirement.png\" alt=\"Group By Requirement\" width=\"816\" height=\"220\" class=\"alignnone wp-image-19475 size-full\" \/><\/a><\/p>\n<p>To track the quality of requirements on an ongoing basis, we have introduced a new widget called \u201cRequirements Quality\u201d. Add it to your Dashboard and display data on the quality of Requirements from a Build Definition or Release (Release coming in the next 1-2 sprints). Use a Requirements query to filter the Requirements to the ones you want to track.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/Configuration.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/08\/Configuration-174x350.png\" alt=\"Configuration\" width=\"174\" height=\"350\" class=\"alignnone wp-image-19455 size-mediumlarge\" \/><\/a><\/p>\n<p>Once configured, you will see a widget\u00a0similar to the first image on this blog. You\u00a0can click on the numbers in the Failed column to navigate to the latest Results for the Build or Release and investigate the failure. To see a bigger view of the widget or if the Requirements are not fitting in the pinned view, click the Expand link. Give it a try and let me know if you have questions in the comments below. Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the deployment of Sprint 103, we are enabling users to track the quality of their Requirements right on the\u00a0Dashboard. We already have a solution for Requirements quality for our Planned testing users and we are bringing it to our users who follow Continuous Testing. Users will be able to link automated tests directly to [&hellip;]<\/p>\n","protected":false},"author":176,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[226,1],"tags":[],"class_list":["post-19435","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ci","category-devops"],"acf":[],"blog_post_summary":"<p>With the deployment of Sprint 103, we are enabling users to track the quality of their Requirements right on the\u00a0Dashboard. We already have a solution for Requirements quality for our Planned testing users and we are bringing it to our users who follow Continuous Testing. Users will be able to link automated tests directly to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/19435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/176"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=19435"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/19435\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=19435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=19435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=19435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}