Files
seedsigner/tests/screenshot_generator
..
2023-08-03 16:43:42 -07:00
2023-08-03 16:43:42 -07:00
2024-11-05 12:19:35 -06:00
2023-08-07 09:21:17 -05: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.