v3.0.0
Breaking changes
addon_module_names
kwarg ofinstall_addons_from_dir
fixture has been renamed toaddons_ids
.
New features
- Add CLI and configuration files options for easier setup.
Enhancements
- Add environment variables propagation to Blender execution.
- Allow to test directly a Python package located inside the directory passed to
blender-addons-dirs
orinstall_addons_from_dir
without zipping it previously.
Migration guide from v1 or v2
Most likely you don't need to use the fixtures install_addons_from_dir
, disable_addons
and uninstall_addons
because now you can define the addons to install using the blender-addons-dirs
and blender-addons-cleaning
configuration options:
- Replace
install_addons_from_dir
fixture byblender-addons-dirs
configuration option. - Replace
disable_addons
fixture byblender-addons-cleaning
configuration option withdisable
value. - Replace
uninstall_addons
fixture byblender-addons-cleaning
configuration option withuninstall
value, but is the default, so you don't need to define it. - If you're installing the addons with
install_addons_from_dir
fixture in your conftest.py file but not removing them after the test suite execution, you can replace it byblender-addons-cleaning
configuration option with the valuekeep
.
- You can replace all the logging configuration of
logging.getLogger("pytest_blender")
by thepytest-blender-debug
configuration option.