1

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

C_Bevan
  • 11
  • 2

2 Answers2

1

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

Community
  • 1
  • 1
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
0

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

kokosing
  • 5,251
  • 5
  • 37
  • 50