User Tools

Site Tools


unittests

Table of Contents

Unit Testing

Unit testing is part of the development process by which portions of the source code can be tested upon adherence to quality criteria or whether they fulfill expectations.

The following lists is not comprehensive, we only attempt to give an overview for common languages used on our system. If you think a crucial part is missing: Feel free to contact us.

C++

For C++ we provide a module lib/Catch2/<version>, which contains the Catch2 framework headers and more. To use it load the module. To see what is inside, look into the module itself:

ls $EBROOTCATCH2

Python

Unit tests for Python are build-in.

R

For R a package called "testthat" exists. This is currently not part of the R-modules, yet can be installed via cran.

unittests.txt · Last modified: 2019/08/09 13:37 by meesters