Files
seedsigner/tests/screenshot_generator
2025-01-23 09:43:41 -06:00
..
2023-08-03 16:43:42 -07:00
2023-08-03 16:43:42 -07:00
2025-01-23 09:43:41 -06:00
2024-12-11 10:38:13 -06:00

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.