C++ tests are located in
/tests and Python (binding) tests in
/python/test. See the documentation on building for the
C++ tests and
/python/test/readme.md for the latter.
The Python tests uses the unittest and its test discovery mechanism. For tests to be discovered they must meet the following criteria:
Located in an importable code folder starting from the
python/testroot. If you introduce subfolders they must all contain a
The filenames must start with
The test case classes must begin with
The test functions inside the cases must begin with
To run the tests locally use python -m unittest from the python directory.