Python Forum
how to generate html report for each folder using pytest
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to generate html report for each folder using pytest
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to download TLS Report attachment blason16 6 456 Feb-26-2024, 07:36 AM
Last Post: Pedroski55
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 466 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  Pytest Installed, but VS Code Won’t Access Pytest AstralWeeks 9 2,892 Sep-13-2023, 03:00 PM
Last Post: AstralWeeks
  Pytest mocks anthonyrmoss78 0 427 May-30-2023, 08:28 PM
Last Post: anthonyrmoss78
  Allure Report Generation rotemz 0 751 Jan-24-2023, 08:30 PM
Last Post: rotemz
  Tkinterweb (Browser Module) Appending/Adding Additional HTML to a HTML Table Row AaronCatolico1 0 877 Dec-25-2022, 06:28 PM
Last Post: AaronCatolico1
  Right to left alignment in python report using Reportlab jalal0034 1 1,763 Sep-27-2022, 04:25 AM
Last Post: jalal0034
  Compare filename with folder name and copy matching files into a particular folder shantanu97 2 4,391 Dec-18-2021, 09:32 PM
Last Post: Larz60+
  reading html and edit chekcbox to html jacklee26 5 3,023 Jul-01-2021, 10:31 AM
Last Post: snippsat
  Print Report Invoice nio74maz 0 1,537 Jun-17-2021, 08:25 AM
Last Post: nio74maz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020