3 ms·
> Catch2 is great as a unit test framework. It's "great" mainly in the sense of being very large, and making your code very lage - and slow to build. I would n
by einpoklum 1y ago
> Catch2 is great as a unit test framework.
It's "great" mainly in the sense of being very large, and making your code very lage - and slow to build. I would not recommend it unless you absolutely must have some particular feature not existing elsewhere.
Here's a long list of C++ unit testing frameworks: https://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C++ https://en.wikipedia.org/wiki/List_of_unit_testing_framework...
And you might consider:
* doctest: https://github.com/doctest/doctest https://github.com/doctest/doctest
* snitch: https://github.com/snitch-org/snitch https://github.com/snitch-org/snitch
* ut/micro-test: https://github.com/boost-ext/ut https://github.com/boost-ext/ut
- jonstewart 1y agoI guess I consider it great in comparison to CppUnit, Boost Test, and Google Test. I also like that it incorporated nonius, that's a big win.