TEST_WORKITEM(workitem)是做什么的? [英] What does TEST_WORKITEM(workitem) do?

查看:103
本文介绍了TEST_WORKITEM(workitem)是做什么的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2012和TFS 2012中寻找将本机C ++单元测试用例与TFS工作项相关联的方法时(目前看来这是不可能的-请参阅 这里),我观察到有一个预定义的属性 TEST_WORKITEM(workitem)来指定单元测试中的相关工作项.但是,文档很少,我无法找到其他任何解释说明.

While looking for a way to associate native C++ unit test cases to TFS work items in Visual Studio 2012 and TFS 2012 (this is apparently impossible at the moment - see here), I observed that there is a pre-defined attribute TEST_WORKITEM(workitem) to specify a related work item in a unit test. However, the documentation is sparse and I can't find anything else explaining what this actually does.

应如何使用?这是为了什么?它实际上是否以某种方式将TFS工作项与测试相关联?是否有任何方法可以通过TFS或报告查看测试和引用的工作项之间的关联,甚至只是获取值 在某处输出?或者,这是短语工作项"的使用吗?与TFS工作项目无关?

How is it intended to be used? What is it for? Does it actually associate a TFS work item with a test in some way? Is there any way to view the association between the test and the referenced work item via TFS or reporting, or even just retrieving the value for output somewhere? Or is this use of the phrase "work item" unrelated to TFS work items?

This post contains a code sample using TEST_WORKITEM() but it does not explain how it's used. I could not find any other examples of code using TEST_WORK_ITEM().

推荐答案

我正在尝试让熟悉此主题的人参与进来这个问题.可能会有一些时间延迟.感谢您的耐心.

最好的问候


这篇关于TEST_WORKITEM(workitem)是做什么的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆