Refactoring CTest
30 Sep 2024Previously, I wrote about the four different ways of configuring a dashboard client script with CTest:
Previously, I wrote about the four different ways of configuring a dashboard client script with CTest:
There are too many ways to build and test a project with CMake. On the other hand, there is too little knowledge out there about those ways. As a consequence, people wrap the CMake invocation in custom scripts written in Bash, Python, Typescript etc.
My presentation at C++Now 2017 won the “Most Educational Session” award.
The FindGTest
module that ships with CMake provides the command GTEST_ADD_TESTS
that
registers all the test cases from a test executable with CMake so they are
listed individually in the report generated by CTest.
Slides of a presentation I gave 21 May 2015 for the C++ user group meeting.