4 ms·
I actually tried out Catch last night and dumped it almost immediately for the exact same reason. I was blown away by how slow it was compared to the rest of m
by braveo 10y ago
I actually tried out Catch last night and dumped it almost immediately for the exact same reason. I was blown away by how slow it was compared to the rest of my (admittedly small) program in terms of build times.
I found using boost was a smaller hit to build times than Catch, and the suggestion of building catch in a separate translation unit didn't really help.
I'm guessing if your build times are already godawful you may not notice, but I sure as shit did.
Ultimate I found and went with dessert: https://github.com/r-lyeh/dessert https://github.com/r-lyeh/dessert
It's stupidly simple and doesn't do a lot of things that other C++ testing frameworks due, but it builds lightning quick and does 2 things I expect out of testing frameworks.
1. it tests, and
2. it reports failures.
I'll probably run into severe limitations that I can't deal with/work around, but for now I'm pretty happy with it and even if I end up using something else in 6 months, I'll still consider it worthwhile.