Menu

CppUnit or CUnit for C++ testing??

Jenny_T
2008-03-13
2013-04-22
  • Jenny_T

    Jenny_T - 2008-03-13

    Hi,

    I want test my C++ code with xUnit.

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

    Thank you!

    Martin

     
    • 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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.