▲ | Maxatar 3 hours ago | |
catch2 has become fairly bloated. doctest takes all of the best parts of catch2 without all the bloat and the end result is a test framework that is literally over 10x faster than catch2. It's also like 90% compatible with catch2 so porting your tests to it is pretty easy. Especially if you have a build process that always runs your unit tests, it's nice to have a very fast test/compile/debug loop. | ||
▲ | gary_0 3 hours ago | parent [-] | |
I was just about to suggest doctest, you beat me to it! I'm all about faster compile times, and it was mostly a drop-in replacement for catch2 in my case. Also, IMO, both doctest and catch2 are far superior to Google Test. |