A simple plugin for Visual Regression Testing of Altair charts to use with pytest. Adapted from the Automating Visual Regression Tests with Python and Selenium blog post by U. Rinat.
This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template.
Distributed under the terms of the MIT license, pytest-alt-vrt
is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.
- Selenium WebDriver API documentation.
pytest --driver Chrome
pytest --driver Chrome --alt-vrt-save-baseline
- Print:
pytest --driver Chrome -s
pipenv install --python 3.6
- Displaying Altair Charts documentation.
- nbdime package.
- Register entry point hooks for things like pytest/click etc. Poetry issue.
- pixelmatch and pixelmatch-py packages.
- playwright-pytest and pytest-playwright-snapshot plugins.
- [Feature]: Visual comparisons in python and [FEATURE] Add support for visual regression / snapshot testing (open) issues.