Which unit test framework is in your opinion the best? It should be possible to use with c++/cmake projects. If possible it should have a eclipse plugin for it.
Asked
Active
Viewed 985 times
0
-
1See also http://stackoverflow.com/q/242926/1741542. If you need more, try http://stackoverflow.com/search?q=[c%2B%2B]+unit+test+is%3Aq – Olaf Dietsche Apr 15 '15 at 06:58
2 Answers
2
There are lots of unit test frameworks for C++. But I like Catch most. Its design is modern, and supports awesome features. It is a header-only library, so easy to use.

Nawaz
- 353,942
- 115
- 666
- 851
-
1[doctest](https://github.com/onqtam/doctest) is my reimplementation of Catch with a huge focus on compilation speed - checkout the [FAQ](https://github.com/onqtam/doctest/blob/master/doc/markdown/faq.md#how-is-doctest-different-from-catch) to see whats different – onqtam Oct 10 '16 at 19:57
-
1
0
Check out the boost unit testing framework. Here's a link to a tutorial on how to use it. It's fairly straight fforward: tutorials

SelfTaught
- 482
- 6
- 16