Snap! Websites
An Open Source CMS System in C++
Many of our C++ test make use of catch.hpp which is a standalone C++ header allowing us to very quickly develop unit tests against our code.
We also have our own extensions 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 is 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. This is for Ubuntu 16.04 at this time, but we intend to move to 18.04 at some point and maybe even jump directly to 20.04 once available. We are able to recompile everything under 19.04 so we know that it would work in 18.04.
Snap! Websites
An Open Source CMS System in C++