Skip to content

Development Setup

Local development

Install an editable version of the executable:

pip install -e .

When running the pydjinni command, it will always execute the latest code in the local repository.

Testing

Python Tests

To execute the tests, first make sure that the required dependencies are installed:

pip install .[dev]

The tests can then be executed with pytest:

pytest tests

CMake Module Tests

pytest cmake

Native Unit- and Integration-Tests

cmake -B build
cmake --build build
ctest --test-dir build

Build documentation

pip install -e .
pip install .[doc]
python -m mkdocs serve