README.md

The tests in this folder are implemented using the GLib test framework.

https://developer.gnome.org/glib/2.42/glib-Testing.html

When CMake is configured with -DBUILD_TESTS=on the tests are build. The individual tests are stand-alone exceutables and can also be run in a debugger or for example in valgrind for deeper analysis. By running the tool ctest in the build directory the tests are executed and the results are summarized.

Further commands:

  • ctest -VV to show verbose output from the individual tests
  • ctest -R Modifier to run all tests with the string Modifier in the name
  • ctest -E Modifier to exclude tests with the string Modifier in the name