views:

33

answers:

2

What program is best to unit test a exe targeted project in Visual Studio 2008, VC++?

A: 

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

kogut
+1  A: 

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

Billy ONeal