[Python] How to generate test report using pytest?

Discussão em 'Python' iniciado por Stack, Julho 29, 2025.

  1. Stack

    Stack Membro Participativo

    How can I generate test report using pytest? I searched for it but whatever I got was about coverage report. I tried with this command:

    py.test sanity_tests.py --cov=C:\Test\pytest --cov-report=xml


    But as parameters represents it generates coverage report not test report.

    Continue reading...

Compartilhe esta Página