gpt4 book ai didi

visual-studio - 在 Visual Studio 中查看 Google 测试结果

转载 作者:行者123 更新时间:2023-12-03 14:34:38 26 4
gpt4 key购买 nike

有没有办法在 Visual Studio 中查看 Google 测试结果?如果是,如何?
我使用的是 Google Test 1.5.0 和 Visual Studio 2010

到目前为止,我一直在从命令行使用 Google Test。
我已经在其他 IDE(eclipse...)上看到过这样的集成,但在 VS 中还没有

最佳答案

GoogleTestAddin - 我想这就是你想要的。
引用 CodePlex 描述:

GoogleTestAddin is an Add-In for Visual Studio 2008 and 2010.

It makes it easier to execute/debug googletest functions by selecting them.

You'll no longer have to set the command arguments of your test application to execute only specified functions or tests.

The googletest output is redirected to the Visual Studio output window. On failed tests you can easily jump to the code by doubleclick the error message.

关于visual-studio - 在 Visual Studio 中查看 Google 测试结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5154866/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com