{"id":5915,"date":"2018-04-25T01:11:57","date_gmt":"2018-04-24T17:11:57","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vsnews\/?p=5915"},"modified":"2018-04-25T01:11:57","modified_gmt":"2018-04-24T17:11:57","slug":"gl17j5","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vsnews\/akams-gl17j5\/","title":{"rendered":"Announcing CodeLens for C++ Unit Testing"},"content":{"rendered":"<p>C++ developers in Visual Studio can now get their first taste of CodeLens! Specifically, Visual Studio 2017 15.7 Preview 3 Professional and Enterprise editions offer CodeLens for Unit Testing.<\/p>\n<p>There are a few ways to initialize CodeLens:\n\u2022Edit and Build your test project\/solution\n\u2022Rebuild your project\/solution\n\u2022Run test(s) from the Test Explorer Window<\/p>\n<p>After performing any of the above actions, CodeLens will appear above each of your unit tests. CodeLens allows you to Run, Debug, and view the Test Status of your unit tests directly in the source file. The test status indicators are the same as the ones in the Test Explorer (Warning , Success , Failure ).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ developers in Visual Studio can now get their first taste of CodeLens! Specifically, Visual Studio 2017 15.7 Preview 3 Professional and Enterprise editions offer CodeLens for Unit Testing. There are a few ways to initialize CodeLens: \u2022Edit and Build your test project\/solution \u2022Rebuild your project\/solution \u2022Run test(s) from the Test Explorer Window After performing [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":8227,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-5915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allskus"],"acf":[],"blog_post_summary":"<p>C++ developers in Visual Studio can now get their first taste of CodeLens! Specifically, Visual Studio 2017 15.7 Preview 3 Professional and Enterprise editions offer CodeLens for Unit Testing. There are a few ways to initialize CodeLens: \u2022Edit and Build your test project\/solution \u2022Rebuild your project\/solution \u2022Run test(s) from the Test Explorer Window After performing [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/5915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/comments?post=5915"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/5915\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media\/8227"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media?parent=5915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/categories?post=5915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/tags?post=5915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}