1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +00:00

docs/tests: update UI tests reporting

This commit is contained in:
Tomas Susanka 2020-03-23 17:22:56 +00:00
parent 634ed5aabc
commit 8ddf799cad

View File

@ -76,8 +76,18 @@ pytest tests/device_tests --ui=record --ui-check-missing
## Reports ## Reports
### Tests
Each `--ui=test` creates a clear report which tests passed and which failed. Each `--ui=test` creates a clear report which tests passed and which failed.
The index file is stored in `tests/ui_tests/reports/index.html`, but for an ease of use The index file is stored in `tests/ui_tests/reporting/reports/test/index.html`, but for an ease of use
you will find a link at the end of the pytest summary. you will find a link at the end of the pytest summary.
On CI this report is published as an artifact. On CI this report is published as an artifact.
### Master diff
In the ui tests folder you will also find a Python script `report_master_diff.py`, which
creates a report where you find which tests were altered, added, or removed relative to
master. This useful for Pull Requests.
This report is available as an artifact on CI as well.