Unit Testing with CTest in CMake
Introduction: CTest is the CMake testing tool. This article explores the functionalities of CTest by writing and testing code that can sum integers. To illustrate that CMake imposes no restrictions on the language used for actual testing, we will use C++ executables for testing, as well as Python scripts and shell scripts. For simplicity, we … Read more