Is there a C ++ module testing library that is similar to NUnit?

We need to transfer the unit test wiring developed with C # and NUnit to C ++ running on Red Hat Linux .

We want to minimize efforts in the field of migration.

We read resources such as:

http://gamesfromwithin.com/exploring-the-c-unit-testing-framework-jungle

But we do not see anything like NUnit.

+5
source share
10 answers

: cxxTest, ++ Perl. ++ Perl, . IDE ( ).

, Jungle Framework ++. ( 2004 ), ++:

  • CppUnit
  • Boost.Test
  • CppUnitLite
  • NanoCppUnit
  • Unit ++
  • CxxTest
+4
+9

Google Mock Google Test. , NUnit, , NUnit.

+7
+6

, NUnit. ++ , , , NUnit.

cxxtest, .

+4

Boost.Test. CppUnit, , Java/Junit, ++. , , . , Test Case/Fixture , ++ .

, Boost.Test ++, . . CppUnit Boost.Test, , .

, , cppunit, cxxunit, ++.

+3

Googletest xUnit. Googlemock - ++. -, . , , ++, .

, CppUnit, CppUnitLite, . GoogleMock ACCU 2010, , : -)

+2

There is a relatively new child in the block called WinUnit . I did not have time to try it myself, but it may be worth the look.

+2
source

There is a good one called CPPUnit . He began his life as a C ++ JUnit port by Michael Perse. I worked with him, and that's great. Please note that unit testing in C ++ is more complicated than in other languages.

+1
source

All Articles