CTest

CTest is a testing frontend and CDash dashboard client for CMake. CTest is used in multiple ways:

  • ctest --test-dir <build_dir> to run tests defined in CMakeLists.txt using add_test
  • CDash client
  • CTest script runner (including as CDash client) via ctest -S myscript.cmake

2024

2023

2022

2021