Automated Testing

The testing framework to prevent regressions.

The build system of the framework provides a set of automated tests which are executed by the CI to ensure proper functioning of the framework and its modules.

The tests can also be manually invoked from the build directory of Allpix Squared with:

ctest

When executed by the CI, the results on passed and failed tests are automatically gathered and prominently displayed in merge requests along with the overall CI pipeline status. This allows a quick identification of issues without having to manually search through the log of several CI jobs.

The different subcategories of tests described below can be executed or ignored using the -E (exclude) and -R (run) switches of the ctest program:

ctest -R test_performance