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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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).