-1

Would you please recommend a C++ unit testing framework which works on Visual Studio 2005 and has all or most of features? I cant find any. And please give a guide\tutorial to use it.

razlebe
  • 7,134
  • 6
  • 42
  • 57
  • "all or most" of _what_ features? – James McNellis Mar 09 '11 at 19:53
  • Here is an older question with a lot of related, but still relevant links. I've used cxxtest with it with some luck, but I've also heard good things about the google test framework. – Dan Mar 09 '11 at 20:16
  • “Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, [describe the problem](http://meta.stackexchange.com/q/139399/) and what has been done so far to solve it.” [What topics can I ask about here?](http://stackoverflow.com/help/on-topic) – Anil Jan 24 '14 at 21:18

4 Answers4

3

I've used Boost.Test and UnitTest++ on VS2005 without any problems.

Ferruccio
  • 98,941
  • 38
  • 226
  • 299
2

here I am using Google C++ Testing Framework which works well with Microsoft Visual Studio 2005 Express Edition. For a tutorial you can check the documentation

willll
  • 1,809
  • 1
  • 16
  • 23
  • see also http://stackoverflow.com/questions/531941/how-to-setup-google-c-testing-framework-gtest-on-visual-studio-2005 – wimh Mar 09 '11 at 21:53
0

Visual Assert should be compatible with Visual Studio 2005. I haven't tried it though. http://www.visualassert.com/unit-testing-framework/download.html

Nils Magne Lunde
  • 1,794
  • 1
  • 13
  • 21
0

I believe any FW which supports latest version of Visual Studio will will do, as Visual Studio 2005 is quite similar to the those.

Anyway, both CxxTest and GTest worked for my.

Uri Cohen
  • 3,488
  • 1
  • 29
  • 46