开发者

program to Unit Test in Visual Studio 2008 VC++ (.exe file)

What program is best to unit test a exe targeted project in Visual St开发者_开发技巧udio 2008, VC++?


I strongly recommend using Boost::Test and just creating a separate project. Answers on this question might be helpful.


Sometime ago I used a cmake for managing my project and its unit tests. By cmake I generated visual studio files, then in visual studio I had project 'RUN_TESTS'. When I rebuilt it the tests were invoked.

Here You have some info: http://www.cmake.org/Wiki/CMake_Testing_With_CTest

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜