mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
[Screenshot Generator][Refactor] Clean up the end of the screenshot generation process
Screenshot Generator
From the project root, run:
# Generate screenshots for a specific locale
pytest tests/screenshot_generator/generator.py --locale es
# Generate screenshots for all supported locales
pytest tests/screenshot_generator/generator.py
You can also run a coverage report to see exactly what the screenshots are and are not hitting:
coverage erase
coverage run -m pytest tests/screenshot_generator/generator.py --locale es && coverage combine && coverage report
# Generate the interactive html report
coverage html
Writes the screenshots to a dir in the project root: seedsigner-screenshots.