[TRNSPRTPCE-685] Allure-pytest plugin for pytest html report Created: 01/Sep/22 Updated: 16/Nov/22 Resolved: 29/Sep/22 |
|
| Status: | Verified |
| Project: | transportpce |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | High |
| Reporter: | Tianliang Zhang | Assignee: | Tianliang Zhang |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 2 weeks | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 2 weeks | ||
| Attachments: |
|
| Description |
|
Currently, tox generates reports directly to the terminal. It will be very difficult to read the report when the test list is long and multiple failures happen. allure-pytest is a good plugin for pytest to save the log, organize and show the report through an html page. By running "python3 -m pytest --alluredir=allure-report/", reports are saved in the allure-report folder. Later, html page can be created by running "allure serve tests/allure-report".
|