python3-pytest-textual-snapshot

pytest plugin for snapshot testing Textual applications

Description

A pytest-textual-snapshot test saves an SVG screenshot of a running Textual app to disk. The next time the test runs, it takes another screenshot and compares it to the saved one. If the new screenshot differs from the old one, the test fails.

This is a convenient way to quickly and automatically detect visual regressions in your applications.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/Textualize/pytest-textual-snapshot


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-pytest-textual-snapshot