Skip to content

Dev Testing

Emanuele Gissi edited this page Sep 29, 2025 · 1 revision

Testing with pytest

Before

Before executing the tests, you need to install your testing dependencies inside the builtin Blender Python interpreter. To get the interpreter location you can use the CLI utility pytest-blender, something like:

blender_python="$(pytest-blender --blender-executable ../blender-4.5.2-linux-x64/blender)"
$blender_python -m ensurepip
$blender_python -m pip install pytest

After

After installing dependencies, just call pytest as usually:

cd dev
pytest

Clone this wiki locally