Is this possible / effective enough for TDD in C ++ projects?

I want to know if any of you use the TDD guys in your C ++ projects and how it works compared to managed languages ​​like C # and Java. And what framework do you use to automate tests on C ++ projects?

+5
source share
3 answers

Two useful C ++ test frameworks that did not seem to be mentioned, Boost testand Google Test.

+2
source

Test development is possible in any language. You need the right testing tools and methodologies for the language, and you may need a custom testing framework for your project.

CppUnit ( 1.x) - , , Java/# ++ STL.

, ( C), Wine - http://test.winehq.org/data/ Windows, Wine Wine. .

+1

#, TDD , ++. , , ++ TDD , , ( TDD) ++.

We use Google Test. It is not as easy to use as NUnit / MbUnit, but it seems to work very well. There is also a fake Google system http://code.google.com/p/googlemock , but I haven't used it yet.

+1
source

All Articles