我们可以使用Visual Studio 2010单元测试框架对C ++进行单元测试(非代码) [英] Can we use Visual Studio 2010 unit test framework for unit testing of C++(unmanged code)

查看:90
本文介绍了我们可以使用Visual Studio 2010单元测试框架对C ++进行单元测试(非代码)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用VS 2010单元测试框架进行C ++(非管理代码)的单元测试是否可行?

Is it feasible to use VS 2010 unit test framework for unit testing of C++ ( unmanged code)?

如果不可能的话,有没有办法整合 GoogleTest& GoogleMock 或 视觉断言或 CppUnit

If not possible ,is there any way to integrate GoogleTest & GoogleMock  or Visual Assert  or CppUnit

使用VS 2010吗?

谢谢

Vijay

 

 

 

推荐答案

Vijay,

不存在不需要的C ++代码的单元测试支持.但是,您可以参考本文了解C ++代码的各种测试方法 http://msdn.microsoft.com/en-us/library/ms243171.aspx

There is no unit test support for unamanged C++ code. However, you can refer this article for various testing methods of C++ code http://msdn.microsoft.com/en-us/library/ms243171.aspx

谢谢

Anuj


这篇关于我们可以使用Visual Studio 2010单元测试框架对C ++进行单元测试(非代码)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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