ctest
Configure and build a CMake test project, run its tests with CTest, and generate a test badge and RST test report.
For programmatic usage, see cmake, reports.
Default run name: ctest
cikit ctest . -G Ninja -b unit -j 4 -D BUILD_TESTING=ON
Arguments and options
project_dir: CMake source directory (default: project root).-b, --build-name NAME: Build-directory name (default:unit).-G, --generator NAME: CMake generator (default: CMake selection).-j, --jobs N: Parallel build/test jobs (default:0, tool default).-D, --define NAME=VALUE: Additional CMake definition; repeatable.--clean/--no-clean: Clean before configuration (default: clean).
Requires: CMake, CTest, a compiler/toolchain, and the selected generator.
Results: Test metrics, test badge, and RST test report.