CppUnit or CUnit for C++ testing??

  • Jenny_T

    Jenny_T - 2008-03-13


    I want test my C++ code with xUnit.

    Should I test with CUnit or CppUnit?
    What are the advantages of CppUnit?

    Thank you!


    • John Pye

      John Pye - 2008-03-14

      You should probably use CppUnit because it allows you to use C++ syntax in your test suite in a more natural way. This will make your test suite easier to read and maintain. I would also say that CppUnit is more mature and development of CppUnit is more active and you are more likely to get support when you have problems (this is just my opinion though).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks