▲ | Maxatar 10 months 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. | ||||||||
▲ | Suppafly 10 months ago | parent | next [-] | |||||||
>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. I feel like you could make a madlib where you could plug in any two project names and this sentence would make sense. | ||||||||
| ||||||||
▲ | gary_0 10 months ago | parent | prev [-] | |||||||
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. |