将本机VSCppUnit C ++单元测试与TFS测试用例相关联

编程入门 行业动态 更新时间:2024-10-10 06:20:34
本文介绍了将本机VSCppUnit C ++单元测试与TFS测试用例相关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在很长一段时间内使用VSCppUnit C ++单元测试框架对我的原生C ++应用程序进行了大量的单元测试。我想将它们与TFS工作项和测试用例相关联,但是菜单"Associate to test case"在测试资源管理器中显示为灰色。从我在互联网上关于这个特殊案例的少数文章(大多数人谈论.Net的事情)中读到的内容,在我看来,这是不可能的(但是?)。我觉得奇怪的是,微软解决方案(TFS)甚至不支持自己的产品,而支持许多外部产品。我想知道它是否真的不可能。

问候

解决方案

嗨Guillaume,

感谢您在这里发帖。

我在VS2017或VS2019预览中检查了"关联到测试用例"选项,我很害怕VS目前不支持本机单元测试项目(C ++)中的选项。

我完全理解这个问题给你带来的不便, 你目前对这个问题的看法。因此,我建议您通过go帮助向MS产品团队报告一些相关的截图 - >发送反馈 - >在IDE的右上角提供一个建议 分享 您的问题和期望详情。

之后,请耐心等待来自VS产品团队工程师。如果获得更多选票,产品团队专家会考虑将其添加为未来产品中的新功能。

BTW,我希望您可以在此发布该链接,以便其他对此问题感兴趣的社区成员将帮助您投票。如果有任何更新,我也会在此处更新信息。感谢您的理解和抱歉给您带来的不便。

最好的问候

Lance

Hi,

I have developed during the lasts years a lot of unit tests on my native C++ application, using VSCppUnit C++ Unit Testing Framework. I would like to associate them with TFS work items and test cases, but the menu "Associate to test case" is grayed in test explorer. From what I read in the very few articles on the internet about this particular case (most of them talk about .Net things), it seems to me that it is not possible (yet?). I find it however strange that a Microsoft solution (TFS) would not even support its own products, while many external ones are supported. I wonder also if it is really not possible.

Regards

解决方案

Hi Guillaume,

Thanks for posting here.

I’ve checked the "associate to test case" option in either VS2017 or VS2019 preview, and I’m afraid that VS doesn’t support the option in Native Unit Test Project(C++) currently.

I totally understand the inconvenience this issue has brought to you, and your current feeling about this issue. As a result, I suggest you report to MS product team with some screenshots about that through go Help -> send feedback-> provide a suggestion in upper right of IDE to share your issue and expectations with detailed info.

After that, please be patient waiting for the response from the VS Product Team Engineers. If it gets more votes, the product team experts would think about adding it as a new feature in the future product.

BTW,I hope you could post that link here, so other community members who are interested in this issue will help you vote it.If there have any updates from there, I will also update the information in here. Thank you for your understanding and sorry for this inconveniences.

Best Regards

Lance

更多推荐

将本机VSCppUnit C ++单元测试与TFS测试用例相关联

本文发布于:2023-11-16 02:18:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1600107.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:相关联   本机   单元测试   测试   VSCppUnit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!