kissnet
kissnet copied to clipboard
Rationalize testing
Currently the CI is only there to check the syntax of the header code.
There are a few odd test programs in /tests/, but nothing really useful.
New test should be written using Catch2
This is a good idea. I would propose having CMake FetchContent Catch2 rather than vendoring or Git Submodule, to avoid cluttering kissnet Git history. Specifically, if the user has set kissnet_BUILD_TESTING=true, then Catch2 will be downloaded, built and run the unit tests. Meson can effectively do the same thing, downloading and building Catch2 when tests are requested.
Another thought is Catch2 is preparing a v3 release. The API has some changes, so maybe it's worth waiting for Catch2 v3?