[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: PNG File Screenshot from 2022-09-01 10-13-01.png    

 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".

 


Generated at Wed Feb 07 20:43:47 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.