Snap! Websites
An Open Source CMS System in C++
All of our C++ tests make use of Catch2, which is a C++ framwork allowing us to very quickly develop unit tests against our code.
We have our own extensions1 in the snapcatch2.hpp file so we can very quickly create new tests with our standard set of command line extensions, verbose sections, etc.
The Ubuntu system is often quite behind with the version of Catch2 (actually, it was not even available on Ubuntu 16.04, which only offers version 1.x) so we decided to create our own package with the latest release.
The original source is available on github.
We just keep a tarball of the latest release and generate a new package with it whenever a new version is available.
You can find our package in our Snap! C++ Laucnhpad project. At time of writing, this is available for Ubuntu 22,04, 23.04, 23.10.
Snap! Websites
An Open Source CMS System in C++