![]() |
how to generate html report for each folder using pytest - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: how to generate html report for each folder using pytest (/thread-27977.html) |
how to generate html report for each folder using pytest - ktrsarath - Jun-30-2020 Hi, I am using pytest html for generating reports Now my framework consists of 8 folders namely 1. Test 2. Test_1 3. Test_2.....8. Test_8 Each folder has test_suite.py and conftest.py To run specific tests in all folders I am using markers named P0 so I am running command in below manner pytest -v -s -m P0 --html=p0.html but html report is generating for all test cases at a time Can I know how I need to create html report for indiduval folder instead of all folders at a time Thanks for your help in advance Regards, Sarath Chandra |