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
精彩评论