Today our CLI tests are implemented as a shell script. The more standard way seems to be to use ctest if you are using CMake. The only potential problem is that we may not be able to test formatting control block data from a pipe. It may be possible, but we would need to investigate this more.
https://cmake.org/cmake/help/book/mastering-cmake/chapter/Testing%20With%20CMake%20and%20CTest.html
Today our CLI tests are implemented as a shell script. The more standard way seems to be to use
ctestif you are using CMake. The only potential problem is that we may not be able to test formatting control block data from a pipe. It may be possible, but we would need to investigate this more.https://cmake.org/cmake/help/book/mastering-cmake/chapter/Testing%20With%20CMake%20and%20CTest.html