c++tddcppunit

Test Driven Development with C++


Looking to start doing TDD in C++. I've seen CPPUnit, but I was wondering if there are other options that people prefer?

Thanks for your suggestions!


Solution

  • I can recommend Google Mock, which has become part of Google Test bundled. We switched from UnitTest++ to Google Test/Google Mock a couple of years ago and have never looked back.

    Google Mock can be used even if you don't want to use the mocking facilities. Its matchers are very useful.